Text Button |
Top Previous Next |
Like the static text control, the text label can have multiple lines. However, unlike static text (and most other controls), the size of the button is largely determined by the size of the text inside of it along with the specified margins. Resizing the control by dragging will not do much. Style / Hover Style / Pressed Style There are three groups of styles that are applied to the button depending on its state. The normal "Style" settings are when the button is active, but the mouse is not over the button, nor is the button pressed. "Hover Style" is applied when the mouse is over an active button, but the button is not pressed. "Pressed Style" is applied when the button is pressed (only when enabled). The style options match up with the styles available for the static text control, though font type and size are the same for all three styles, as determined by the main style specification. OnClick: This is script you can enter that will execute when the button 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
|