xG00BERx Posted December 19, 2013 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.
CheeseBiscuit Posted December 19, 2013 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)
Moderators JLogan3o13 Posted December 19, 2013 Moderators 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!
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