Jump to content
Sign in to follow this  
OchoNueve

GUIDelete Question

Recommended Posts

OchoNueve

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]

Share this post


Link to post
Share on other sites
picea892

To delete a control you need to use

GUICtrlDelete not Guidelete

Share this post


Link to post
Share on other sites
OchoNueve

To delete a control you need to use

GUICtrlDelete not Guidelete

Thank you! That fixed everything.


[font="Times New Roman"]Ocho.[/font]

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  

×