xG00BERx Posted December 19, 2013 Share Posted December 19, 2013 I was kind of curious as to how I could take an Input box text and use it to change the text of a Label.... I know how to use InputBox and Label in the GUI I just am kind of confused as to how to do this so thanks for your help. Link to comment Share on other sites More sharing options...
CheeseBiscuit Posted December 19, 2013 Share Posted December 19, 2013 Save the input text into a variable and use GUICtrlSetData on the Label. Local $data $data = GUICtrlRead($inputhandle) GUICtrlSetData($labelhandle, $data) Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 19, 2013 Moderators Share Posted December 19, 2013 Or do it in a single line: GUICtrlSetData($sLabel, GUICtrlRead($sInput)) "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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