PML Customisation User Guide

Forms : Loading, Showing, and Hiding Forms : Position of Forms on the Screen
The origin of a form is its top left hand corner.
When a form is displayed as a child form then it is always positioned with respect to its parent.
For a form shown from a MENU, its origin is at the origin of the parent. If the form is displayed from a BUTTON or any other gadget, its origin is at the centre of the gadget.
When a form is shown as a free form for the first time then its default position is at the top left-hand corner of the screen.
The At option puts the origin of the form at the specified position; alternatively the Cen option puts the centre of the form at the given position. The co-ordinate values are fractions of the screen width or height respectively and are referred to as screen co-ordinates.
positions the origin of !!MyForm one quarter of the way across from the left edge of the screen, and one tenth of the way down from the top.
centres !!MyForm at the middle of the screen.

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo