Max Kipness Posted November 12, 2007 Share Posted November 12, 2007 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 Link to comment Share on other sites More sharing options...
DjDeep00 Posted November 12, 2007 Share Posted November 12, 2007 @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... Link to comment Share on other sites More sharing options...
Max Kipness Posted November 12, 2007 Author Share Posted November 12, 2007 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... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now