StaticText.Text
The Static Text Control Object that is returned by the AddStaticText function has a Text property. The Text property represents the text that is displayed for the Static text.
Syntax |
Static Text Control Object.Text = Text Where Static Text Control Object is the name of the variable (declared in your script) that is used to store the static text Control Object that is returned by the AddStaticText function. |
Description |
Defines the text that is shown as static text. |
Arguments |
Text {string} Defines the text that is shown as static text. |
Returns |
String |
Example:
StaticText1.Text = "Pump 14"
Where:
- StaticText1 is the name of the variable that stores the static text Control Object returned by the AddStaticText function
- "Pump 14" is the text that is shown for the static text value.