DOCK Attribute
- Last UpdatedNov 12, 2025
- 1 minute read
The DOCK attribute is restricted to a small set of gadgets only, and is principally aimed at the Frame gadget. It is quite difficult to use, but allows the user to DOCK a frame to the LEFT or RIGHT or TOP or BOTTOM edge of its container (frame or form) or to DOCK FILL, that is dock to all to all edges simultaneously. The default is DOCK NONE.
When the frame's container resizes, the docked frame edges will remain 'stuck' to the corresponding container edges. Any docked edge is resized to be the same size as its container's edge.
Paragraph, Textpane, Container, Selector and List gadgets support DOCK FILL only.
Note: Currently the frame's DOCK attribute does not mix well with FoldUP frames.