kor Posted July 1, 2009 Share Posted July 1, 2009 I have 5 radio buttons. Depending on which radio button you choose, there will be a drop down box with different information in it. Radio1 Radio2 Radio3 Radio4 Radio5 DropDownList ----------------------- The drop down list will always be displayed, but if you select radio1 the dropdown will have different selections inside of it then if you were to select radio2. What I am trying to accomplish is similar to web forums where it asks you for your country. If you select united states, then it intelligently updates another drop down list with your state inside of it. But if you DIDN'T select united states, it would have different information in the next drop down list. Once you have select your radio button and your drop down list.. there will be an "install" button below them and it needs to read which combination you have selected... IE... radio1 & dropdown item 4.... or.... radio3 & dropdown item 16 .. then run a script based on those variables. Link to comment Share on other sites More sharing options...
Authenticity Posted July 1, 2009 Share Posted July 1, 2009 So you can use a switch case to see which radio is currently checked and set the drop-list content using a few simple functions or write the proper code directly into the specific case. You may want to look in the help file for _GUICtrlComboBox_ResetContent(), GUICtrlSetData(), GUIGetMsg(), etc... 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