Radio Button problem
-
I have created a dialog with 4 sets of radio buttons groups. for the first 2, its working fine. but for the rest of the radio buttons group, only one is selecting. When the save and close, its saved. But while displaying, its displaying as only one radio button checked out of all. Where the problem would be?
-
I have created a dialog with 4 sets of radio buttons groups. for the first 2, its working fine. but for the rest of the radio buttons group, only one is selecting. When the save and close, its saved. But while displaying, its displaying as only one radio button checked out of all. Where the problem would be?
-
I have created a dialog with 4 sets of radio buttons groups. for the first 2, its working fine. but for the rest of the radio buttons group, only one is selecting. When the save and close, its saved. But while displaying, its displaying as only one radio button checked out of all. Where the problem would be?
The radio button grouping uses the tab order for determining the group to which the radio button belongs. In english, this means that in your dialog resource, the tab order of the radio buttons must run from RADIO_1_GROUP_1 -> RADIO_2_GROUP_1 -> RADIO_1_GROUP_2 -> RADIO_2_GROUP_2 -> etc. in a consecutive order. So, if the first radio button has tab order 3, the next must have 4, the next 5 and so forth. Now, only the first button of each group should have the group flag set. This flag determines the starting point of the group. Whenever a control with a group flag set is found in the tab order, a new group begins. All radio buttons before this 'flagged radio button' belong to the group specified by the previous 'flagged button'. If no previous group is found before the start of the tabbing order, then those controls remain ungrouped. Here[^] is a link to MSDN for more information. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.
-
The radio button grouping uses the tab order for determining the group to which the radio button belongs. In english, this means that in your dialog resource, the tab order of the radio buttons must run from RADIO_1_GROUP_1 -> RADIO_2_GROUP_1 -> RADIO_1_GROUP_2 -> RADIO_2_GROUP_2 -> etc. in a consecutive order. So, if the first radio button has tab order 3, the next must have 4, the next 5 and so forth. Now, only the first button of each group should have the group flag set. This flag determines the starting point of the group. Whenever a control with a group flag set is found in the tab order, a new group begins. All radio buttons before this 'flagged radio button' belong to the group specified by the previous 'flagged button'. If no previous group is found before the start of the tabbing order, then those controls remain ungrouped. Here[^] is a link to MSDN for more information. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.