B3TA_SCR1PT3R Posted August 22, 2005 Share Posted August 22, 2005 heres wat i have: $Radio_1 = GuiCtrlCreateRadio("Radio1", 220, 30, 70, 20) $Radio_2 = GuiCtrlCreateRadio("Radio2", 300, 30, 80, 20) $Radio_3 = GuiCtrlCreateRadio("Radio3", 220, 80, 80, 20) $Radio_4 = GuiCtrlCreateRadio("Radio4", 310, 80, 60, 20) $Radio_5 = GuiCtrlCreateRadio("Radio5", 220, 120, 80, 20) $Radio_6 = GuiCtrlCreateRadio("Radio6", 310, 120, 60, 20) how can i group them so that i can only choose between 1 or 2/3 or 4/5 or 6 im not using guictrlcreategroup because i dont want the line thingy around it any suggestions? [right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right] Link to comment Share on other sites More sharing options...
is8591 Posted August 22, 2005 Share Posted August 22, 2005 How about using code and when user selects a radio force the complimentary radio off. By the way, since you only have two states could use checkbox Link to comment Share on other sites More sharing options...
B3TA_SCR1PT3R Posted August 22, 2005 Author Share Posted August 22, 2005 How about using code and when user selects a radio force the complimentary radio off. By the way, since you only have two statesĀ could use checkbox<{POST_SNAPBACK}>yeah i guess but i like radios better ..only one to choose dont have to disable and enable and all thatasdfljsdfklj [right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right] Link to comment Share on other sites More sharing options...
quaizywabbit Posted August 22, 2005 Share Posted August 22, 2005 how can i group them so that i can only choose between 1 or 2/3 or 4/5 or 6 im not using guictrlcreategroup because i dont want the line thingy around itdon't understand the logic with the "2/3" or "4/5"you're wanting these to have the same state always? i.e. 2 checked and 3 checked, can't uncheck one without affecting the other. [u]Do more with pre-existing apps![/u]ANYGUIv2.8 Link to comment Share on other sites More sharing options...
is8591 Posted August 22, 2005 Share Posted August 22, 2005 yeah i guess but i like radios better ..only one to choose dont have to disable and enable and all thatasdfljsdfklj<{POST_SNAPBACK}>What do you mean disable - just use:GUICtrlSetState(Radio_1, $GUI_UNCHECKED)GUICtrlSetState(Radio_2, $GUI_CHECKED)I am sure some of the guys will be able to give you better code.Probably array to lookup relationships and UDF to check and uncheck correspondingly Link to comment Share on other sites More sharing options...
B3TA_SCR1PT3R Posted August 22, 2005 Author Share Posted August 22, 2005 thx for all the replys.. i looked in the helpfile again and found GuiStartGroup() [right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right] 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