OchoNueve Posted June 22, 2009 Share Posted June 22, 2009 What happens when GUIDelete() is used to delete a GUICtrlCreateLabel() I have my main GUI: $myGui = GUICreate() Then I have: While (some stuff) ...$myLabel = GUICtrlCreateLabel() ;Then I do: ...Sleep(1000) ...GUIDelete($myLabel) Wend For some reason $myLabel is not changing every iteration. I can tell that it is reloading but it always looks the same. Any ideas? I know this is pretty vague but if you need more info (like actual code) let me know. [font="Times New Roman"]Ocho.[/font] Link to comment Share on other sites More sharing options...
picea892 Posted June 22, 2009 Share Posted June 22, 2009 To delete a control you need to use GUICtrlDelete not Guidelete Link to comment Share on other sites More sharing options...
OchoNueve Posted June 23, 2009 Author Share Posted June 23, 2009 To delete a control you need to useGUICtrlDelete not GuideleteThank you! That fixed everything. [font="Times New Roman"]Ocho.[/font] 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