PML Customisation
User Guide
Gadget Set
: Line Gadgets
Line Gadgets
The LINE gadget gives the ability to display horizontal or vertical lines to separate groups of gadgets on a form, for increased clarity of intent. The line's presentation reflects the colour of the current Windows scheme.
A Line gadget can be defined by
line .horiz 'H-Line' Horiz width.f3 height.t1
The line's width and height can be set either specifically or in terms of the width of other gadgets on the form.
Setting the height for a Horizontal separator or the width for a Vertical separator causes the line to be drawn across the middle of the implied area. This allows for equal spacing on each side of the separator line. If the width or height is omitted then a default value is assumed.
The line's Dock and Anchor attributes allow it to be dynamic and respond to interactive changes in form size.
The Line has the following restrictions:
•
The tag text is never displayed.
•
It cannot not appear in toolbar frames.
•
It is not interactive and has no associated value.
•
It supports the standard default gadget members and methods only.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.