Input string variable to textbox/label/?
Posted: Fri Aug 30, 2013 12:01 pm
Good afternoon,
I'm writing a script which informs a user of the number of days until their password expires.
Naturally, this info will be different for each user.
I'd like to send a string variable to some sort of textbox, label, or whatever box-type you recommend to display this string.
There will only be a couple of buttons as input from the user to determine if they want to change their password right then or not.
The GUI portion of this script will be called after the password expiration date has been computed.
I'm currently using a Textbox but the info isn't displayed unless the textbox is the focus and the user presses any key. I'd like the info to be displayed automatically.
Can you please advise what box-object type I should use and perhaps give a hint on the syntax to update the value of the text?
Thanks very much.
I'm writing a script which informs a user of the number of days until their password expires.
Naturally, this info will be different for each user.
I'd like to send a string variable to some sort of textbox, label, or whatever box-type you recommend to display this string.
There will only be a couple of buttons as input from the user to determine if they want to change their password right then or not.
The GUI portion of this script will be called after the password expiration date has been computed.
I'm currently using a Textbox but the info isn't displayed unless the textbox is the focus and the user presses any key. I'd like the info to be displayed automatically.
Can you please advise what box-object type I should use and perhaps give a hint on the syntax to update the value of the text?
Thanks very much.