Triton Posted May 11, 2004 Share Posted May 11, 2004 Can guisetcontrol("label","1",-1-1-1-1) be updated? I mean the text in the label be changed? and how? Triton Link to comment Share on other sites More sharing options...
alawoona Posted May 11, 2004 Share Posted May 11, 2004 (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 May 11, 2004 by alawoona Link to comment Share on other sites More sharing options...
Triton Posted May 11, 2004 Author Share Posted May 11, 2004 Thanks man! Triton Link to comment Share on other sites More sharing options...
jpm Posted May 11, 2004 Share Posted May 11, 2004 $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 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