spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * GUI Text Box functions and properties

Text property (text box)

(Formerly known as GetTextBoxText, which is now obsolete)
(Formerly known as SetTextBoxText, which is now obsolete)
(Formerly known as TextBox.GetText, which is now obsolete)
(Formerly known as TextBox.SetText, which is now obsolete)

String TextBox.Text;

Gets/sets the text box contents. This might be useful to reset the text box to blank after the user has typed something in, or to fill in a default value.

Example:

txtUserInput.Text = "";
will clear the txtUserInput text box.

See Also: TextBox.Font, String.CompareTo, Label.Text


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.