"alignment"
Aligns the text of a spin button to the cursor position or to the selected texts.
Synopsis
setValue(string shape, "alignment", string value);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
value |
"AlignLeft" = left aligned "AlignRight" = right aligned "AlignCenter" = center justified "AlignJustify" = justified |
Description
Aligns the text of a a spin button to the cursor position or to the selected texts.
Example
The following example aligns the text right.
main()
{
this.alignment("AlignRight");
}
Assignment
Spin button