Button object
- Last UpdatedJul 26, 2024
- 1 minute read
The following elements can be specified for a button object.
|
Elements |
Description |
|---|---|
|
Title |
Button object name. Optional. |
|
TextString |
Displayed caption. Default string is "Text". |
|
TextInfo |
Defines how the caption is shown. |
|
AnimationLinks |
Optional animation links list. Line Color, Fill Color, Text Color, Percent Fill, Orientation animation links are not permitted. |
|
Dimension |
Location and size of an object. Elements are top, left, width, height. Top, left, width, and height values are pixels. The resulting coordinates must be within -32000 and +32000. Both width and height cannot be zero. Required. An object is not created if the Dimension element is assigned invalid values or is missing values. |
Example:
Button>
<Title>button1</Title>
<TextInfo>
<Font>Arial</Font>
<FontStyle>Regular</FontStyle>
<FontSize>12</FontSize>
<Underline>false</Underline>
<Strikeout>false</Strikeout>
<TextColor>
<R>0</R>
<G>0</G>
<B>0</B>
</TextColor>
<TextJustify>Left</TextJustify>
</TextInfo>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
<TextString>Stop All Robots</TextString>
<AnimationLinks>
</AnimationLinks>
</Button>
Minimal example:
<Button>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
</Button>