Sign in to follow this  
Followers 0
Max Kipness

Delete or Change button?

3 posts in this topic

What is the best approach for deleting or changing a button?

For changing, I've tried creating a button over the old, but that causes problems in that once you hover, it changes back to the old. I've also tried using GUICtrlSetData($button,"New Text"), which kind of works. However, you don't see "New Text" until you hover over the button.

Also, what about simply deleting/removing the button.

Thanks,

Max

Share this post


Link to post
Share on other sites

@Max Kipness....You should have no problem deleteting the button by using GuictrlDelete(). You can also hide the old control and make the control by using Guictrlsetstate(). Please look at the help file for examples...

Share this post


Link to post
Share on other sites

Thanks, must have missed the guictrldelete() function as I guess I've never needed it before. Works great.

Max

@Max Kipness....You should have no problem deleteting the button by using GuictrlDelete(). You can also hide the old control and make the control by using Guictrlsetstate(). Please look at the help file for examples...

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