PML Customisation
User Guide
Gadget Set
: Frame Gadgets
Frame Gadgets
Frame gadgets provide visual grouping of gadgets on a form, and aid form layout.
The grouping is more than visual: a frame is a genuine container and manages the gadgets it contains, so gadgets are positioned relative to the frame’s origin rather than the form’s origin.
When a container resizes it will adjust the layout of all its children, taking account of their
anchor
or
dock
properties.
The frame gadget’s properties
visible
and
active
will automatically apply to all of its children, but will not overwrite their corresponding property values. So, for example,
frame .f1
contains
button .b1
and
f1
and
b1
both have
visible = true
.
The command:
!!form.f1.visible = false
will cause the frame and all its contained gadgets to be hidden, but the query:
!value = !!form.b1.visible
will still return true.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.