Dae Posted December 29, 2006 Share Posted December 29, 2006 Hey, I've got 3 lists and each has about 6 radio options. When I click on a radio on any list it unchecks the radios from the other lists. I want each list to have a checked radio. How would I do this (grouping)? This is my code, if it helps: For $id = 0 To UBOUND($g_Account) - 1 $g_Menu[4][$id][0] = GUICtrlCreateLabel("Account " & ($id + 1), 10 + 80 * $id, 10) $g_Menu[4][$id][1] = GUICtrlCreateRadio("Queuing", 20 + 80 * $id, 25) $g_Menu[4][$id][2] = GUICtrlCreateRadio("Positioning", 20 + 80 * $id, 45) $g_Menu[4][$id][3] = GUICtrlCreateRadio("Roaming", 20 + 80 * $id, 65) $g_Menu[4][$id][4] = GUICtrlCreateLabel("Guarding", 20 + 80 * $id, 90) $g_Menu[4][$id][5] = GUICtrlCreateRadio("Graveyard", 30 + 80 * $id, 105) $g_Menu[4][$id][6] = GUICtrlCreateRadio("Bunker", 30 + 80 * $id, 125) $g_Menu[4][$id][7] = GUICtrlCreateRadio("Halted", 20 + 80 * $id, 150) GUICtrlSetState($g_Menu[4][$id][7], $GUI_CHECKED) $g_Menu[4][$id][8] = GUICtrlCreateButton("Start", 5, 175, 40, 20) GUICtrlSetState(-1, $GUI_FOCUS) $g_Menu[4][$id][9] = GUICtrlCreateButton("Stop", 50, 175, 40, 20) Next Link to comment Share on other sites More sharing options...
Valuater Posted December 29, 2006 Share Posted December 29, 2006 GUIStartGroup() see help, it has a good example of use 8) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now