Sign in to follow this  
Followers 0
Triton

Update Or Change A Label

4 posts in this topic

Can guisetcontrol("label","1",-1-1-1-1) be updated? I mean the text in the label be changed? and how?


Triton

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

$label1 = GUISetControl ( "label", "original label", left, top, width, height)

label has the text "original label"

Then

GUISetControl ( $label1, "new label text", left, top, width, height)

Now the original label will have the text "new label text"

Edited by alawoona

Share this post


Link to post
Share on other sites

Thanks man! :):huh2::D


Triton

Share this post


Link to post
Share on other sites

$label1 = GUISetControl ( "label", "original label", left, top, width, height)

label has the text "original label" 

Then

GUISetControl ( $label1, "new label text", left, top, width, height)

Now the original label will have the text "new label text"

You can also use GuiWrite which can upstae the state and the text :D

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