Wb-FreeKill Posted March 25, 2005 Share Posted March 25, 2005 How can i disable a gui, so you can't push any buttons, while doing something, and the enables it again? Link to comment Share on other sites More sharing options...
SlimShady Posted March 25, 2005 Share Posted March 25, 2005 GUISetState(@SW_DISABLE) Link to comment Share on other sites More sharing options...
sylvanie Posted March 25, 2005 Share Posted March 25, 2005 Hello what do you think about Hiding the GUI with GUISetState (@SW_HIDE ) just befor your function and Show it when the function is terminated with GUISetState (@Sw_Show) ? Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted March 25, 2005 Author Share Posted March 25, 2005 Hellowhat do you think about Hiding the GUI with GUISetState (@SW_HIDE ) just befor your function and Show it when the function is terminated with GUISetState (@Sw_Show) ?<{POST_SNAPBACK}>I would rather disable it, but thx SlimShady Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted March 25, 2005 Author Share Posted March 25, 2005 If i do it in a small script, it works fine, but in my large script, with several hidden gui's, it wont work at all, could it be because of more than one gui?.. Link to comment Share on other sites More sharing options...
SlimShady Posted March 25, 2005 Share Posted March 25, 2005 Check the help file. Use the second parameter: the GUI handle Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted March 25, 2005 Author Share Posted March 25, 2005 Check the help file. Use the second parameter: the GUI handle<{POST_SNAPBACK}>it working now, thx 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