PML Customisation
User Guide
Form Layout
:
Intelligent Resizing
: More Complex Frame Docking
More Complex Frame Docking
The example in this section constructs the form shown below, using the principles of the previous section.
It consists of a simple horizontal frame stack, with the central frame (of type
panel
with a 3D indented border) housing a vertical frame stack.
The frame 'Variable Frame' has Anchor all, and so will resize as the form resizes.
Note:
All the docked frames could have been of type panel with no border, which would remove all the frames and titles.
Figure 17:11.
More complex docked frames
layout form !!dockedFrames dialog docking noPadding
title '!!dockedFrames'
frame .leftFrame 'Left Frame' dock left width 10
exit
frame .panel panel indent 'horiz-holder' anchor all width 50
path down
vdist 0.1
hdist 0.5
frame .topFrame 'Top Frame' dock top
exit
frame .variableFrame 'Variable Frame' anchor all wid to max.panel
exit
frame .middleFrame 'Middle Frame' dock bottom
exit
frame .bottomFrame 'Bottom Frame' dock bottom
exit
exit
path right
frame .rightFrame 'Right Frame' dock right width 10
exit
exit
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.