Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...