Jump to content
Sign in to follow this  
Wb-FreeKill

How to Disable a GUI?

Recommended Posts

Wb-FreeKill

How can i disable a gui, so you can't push any buttons, while doing something, and the enables it again?

Share this post


Link to post
Share on other sites
SlimShady

GUISetState(@SW_DISABLE)

Share this post


Link to post
Share on other sites
sylvanie

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) ?


Share this post


Link to post
Share on other sites
Wb-FreeKill

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) ?

<{POST_SNAPBACK}>

I would rather disable it, but thx SlimShady

Share this post


Link to post
Share on other sites
Wb-FreeKill

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?..

Share this post


Link to post
Share on other sites
SlimShady

Check the help file. Use the second parameter: the GUI handle

Share this post


Link to post
Share on other sites
Wb-FreeKill

Check the help file. Use the second parameter: the GUI handle

<{POST_SNAPBACK}>

it working now, thx

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.