Sign in to follow this  
Followers 0
chenxu

Diable/Enable an AutoIt GUI component?

3 posts in this topic

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



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

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  
Followers 0