alawoona Posted February 21, 2004 Share Posted February 21, 2004 (edited) This script loads the GUI with neither radio button checked - If I select the first button, can I then uncheck it using ControlCommand - this script does not work ??? Note - it uses Larry's AU3GUI_sure.au3 ----Begin----- AU3GUI("GUI|title|Test|action|2|x|100|y|100|w|200|h|200") AU3GUI("1|type|radio|text|Choice &1|x|30|y|20|w|100|submit|1") AU3GUI("2|type|radio|text|Choice &2|x|30|y|60|w|100|submit|1") AU3GUI("3|type") Run("AU3GUI") Winwait("Test") While WinExists("Test") Sleep(100) If ControlCommand ( "Test", "", "Button1", "IsChecked", "" ) =1 Then MsgBox(4096,"","Choice 1 is checked") MsgBox(4096, "", "press OK to Uncheck this radio button") ControlCommand("Test", "", "Button1", "UnCheck", "") EndIf Wend #include "AU3GUI_sure.au3" -----end---- Edited February 21, 2004 by alawoona Link to comment Share on other sites More sharing options...
alawoona Posted February 21, 2004 Author Share Posted February 21, 2004 Yeah - I thought that might be the case.......but the radio buttons start out all unchecked....just wanted to get back to this state without reloading the whole gui Link to comment Share on other sites More sharing options...
Josbe Posted February 21, 2004 Share Posted February 21, 2004 Hey Larry, talking about this, is possible have radios in groups (Separated selections) with Au3GUI? (duno if I explain it well) AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta 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