Sangeeta25Jagdish Posted June 6, 2007 Share Posted June 6, 2007 Hi.. Any body Plz My problem is that When I select the particular Radio button according to that the combo box dropdown list should show record & select the particular record which will get displayed on the combo box ... Reply immidiately.. Thanks in advance Link to comment Share on other sites More sharing options...
star2 Posted June 6, 2007 Share Posted June 6, 2007 (edited) first of all ur topic should be in the GUI help and support I would recommend u to use the help file I hope this example will be helpfull 4 u #include <GUIConstants.au3> GUICreate("TEST", 250, 150) $rad_1 = GUICtrlCreateRadio ("item 1" ,20,20,200) $rad_2 = GUICtrlCreateRadio ("item 2" ,20,40,200) $rad_3 = GUICtrlCreateRadio ("item 3" ,20,60,200) $comb = GUICtrlCreateCombo ("" ,20, 100 , 200 , 30) GUICtrlSetData(-1,"item1|item2|item3") $staslable = GUICtrlCreateLabel ("", 20 ,130,230,25) GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Select Case $msg = $rad_1 GUICtrlSetData ($comb , "item1") GUICtrlSetData ($staslable , "u have selected Radio 1") MsgBox (-1,"info", "Radio 1 checked") Case $msg = $rad_2 GUICtrlSetData ($comb , "item2") GUICtrlSetData ($staslable , "u have selected Radio 2") MsgBox (-1,"info", "Radio 2 checked") Case $msg = $rad_3 GUICtrlSetData ($comb , "item3") GUICtrlSetData ($staslable , "u have selected Radio 3") MsgBox (-1,"info", "Radio 3 checked") EndSelect WEnd see ya Edited June 6, 2007 by star2 [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 6, 2007 Share Posted June 6, 2007 Reply immidiately..Oooh... Yes sir, Sir! Is that an order, sir? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Sangeeta25Jagdish Posted June 7, 2007 Author Share Posted June 7, 2007 Oooh... Yes sir, Sir! Is that an order, sir? NO this is not an order but as a request 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