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 Button functions and properties

Text property (button)

(Formerly known as SetButtonText, which is now obsolete)
(Formerly known as Button.GetText, which is now obsolete)
(Formerly known as Button.SetText, which is now obsolete)

String Button.Text;
Gets/sets the text displayed on the button.

Example:

Display("Button displayed: %s", btnController.Text);
btnController.Text = "Enable jibble";
will display the old text, then change button btnController to read 'Enable jibble'.

See Also: Button.NormalGraphic, Label.Text


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