Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Frame Gadgets

  • Last UpdatedOct 27, 2022
  • 1 minute read

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. 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.

TitleResults for “How to create a CRG?”Also Available in