LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LabWindows radio group box with sub-checkbox options - how to detect?

I am mocking up a radio group that looks like this:

RadioGroupMockup.png

 

I can get an EVENT_VAL_CHANGED when I click on the radio buttons, but I want to detect the status of the sub-checkbox items. I do not get an EVENT_COMMIT or EVENT_VAL_CHANGED when those are clicked.

 

I also am not sure how to read them. The Radio_ calls just give me Radio_(Get/Set)MarkedOption to read the index, which does not reflect those checkboxes.

 

Since this is a tree internally, I expect there is some way to reach into this object and get the status of a specific item.

 

EDIT: Using Values, I can see that I clicked one of the checkboxes, but I would still want to be able to read the state. I need to know which radio button is selected, and which of the check boxes is selected, somehow.

 

Suggestions on what to look up in the documentation would be appreciated.

 

 

0 Kudos
Message 1 of 2
(1,943 Views)

From searching this forum, I have found:

 

IsListItemChecked (panel, PANEL_RADIOGROUP, 3, &checked);

 

I am exploring this right now to see if it will help me do what I am trying to do.

0 Kudos
Message 2 of 2
(1,917 Views)