PushButton.Text
The PushButton Control Object that is returned by the AddPushButton function has a Text property. The Text property represents the text that is shown on the button.
Syntax |
ControlObject.Text = Text Where ControlObject. is the name of the variable (declared in your script) that is used to store the PushButton Control Object that is returned by the AddPushButton function. |
Description |
Sets the string that is shown on the Push Button. |
Arguments |
Text {string} |
Returns |
String |
Example:
PushButton1.Text = "Clear Form"
Where:
- PushButton1 is the name of the variable that stores the PushButton Control Object returned by the AddPushButton function
- "Clear Form" is the string that is shown on the button.