PantZ4 Posted September 6, 2006 Share Posted September 6, 2006 (edited) How do i make a button "disabled" (so I can't press it) I want it for my IE script... Its because the script chash when press back or forward without have vist a hompage first. Thank you Edited September 6, 2006 by Mr. Zero Link to comment Share on other sites More sharing options...
dabus Posted September 6, 2006 Share Posted September 6, 2006 Search the helpfile please... #include <GUIConstants.au3> GUICreate("My GUI state") ; will create a dialog box that when displayed is centered GUICtrlCreateLabel ("my disable label", 10,20) GUICtrlSetState(-1,$GUI_DISABLE) ; the label is in disable state GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend 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