Valuater Posted June 22, 2005 Share Posted June 22, 2005 It appears to work correctly...but not! heres the test GUI #include <GUIConstants.au3> Dim $Start_[4], $dis GUICreate("my GUI") $Start_1 = GUICtrlCreateButton( "", 40, 50, 32, 32) $Start_2 = GUICtrlCreateButton( "", 100, 50, 32, 32) $Start_3 = GUICtrlCreateButton( "", 160, 50, 32, 32) for $dis = 1 to 3 GUICtrlSetState($Start_[$dis], $GUI_DISABLE) MsgBox(0,"test", "$dis = " & $dis) Next GUISetState() While 1 $Msg = GUIGetMsg() If $Msg = $Start_1 then Beep(100, 100) If $Msg = $GUI_EVENT_CLOSE Then Exit sleep(10) WEnd I don't need this... but would I like to understand it thx 8) Link to comment Share on other sites More sharing options...
Ejoc Posted June 22, 2005 Share Posted June 22, 2005 $Start_1 should be $Start_[1] same for 2 and 3 Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs Link to comment Share on other sites More sharing options...
Valuater Posted June 22, 2005 Author Share Posted June 22, 2005 $Start_1 should be $Start_[1] same for 2 and 3<{POST_SNAPBACK}>thanks Ejoc 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