Jump to content
Sign in to follow this  
chenxu

Diable/Enable an AutoIt GUI component?

Recommended Posts

chenxu

Like a button is clicked, a lot of thing to be done, the users are not allowed to click the button while the job is been processing. How can us do this?

Share this post


Link to post
Share on other sites
silvano

you can use

guictrlsetstate($button,$GUI_DISABLE) or guictrlsetstate($button,$GUI_HIDE)

and when the script finish

guictrlsetstate($button,$GUI_ENABLE) or guictrlsetstate($button,$GUI_SHOW)

search guictrlsetstate in the help file

by

Share this post


Link to post
Share on other sites
chenxu

you can use

guictrlsetstate($button,$GUI_DISABLE) or guictrlsetstate($button,$GUI_HIDE)

and when the script finish

guictrlsetstate($button,$GUI_ENABLE) or guictrlsetstate($button,$GUI_SHOW)

search guictrlsetstate in the help file

by

thx very much

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.