Static Text

Top  Previous  Next

clip0011 The static text control simply draws a text label.  By adjusting the size of the control you can make the control wrap long text inside the box.  The default background color is transparent, thus letting controls under this control show through.  You can change this and other styling, and even make the styling change based on conditions.  The parameters of this control are pretty self explanatory.

Hint: a static text control with no text is an empty block.  If left with a transparent background, it makes a good clickable "hot-spot" on the screen.  If given color, you have a panel, especially if you add a border.

Click:

This is script you can enter that will execute when the control is clicked in run mode.  Please see the chapter on script for more details.

Property names for script access (intermediate):

you can access the properties of this control as described in the script section.  Here are the properties for this control:

text:  the text displayed
mainStyle: the style used.  Please see the section on scripted changing of styles for more information.