TPosition enumeration
Represents the Position and Size of a Form on Screen.
Declaration
TPosition = (poDesigned,poDefault,poDefaultPosOnly,poDefaultSizeOnly,
poScreenCenter,poDesktopCenter,poMainFormCenter,
poOwnerFormCenter,poWorkAreaCenter)Description
TPosition is an enumerated type with values that describe the
policy used to position and size a form instance in an application. TPosition
is the type used to implement the
Position property in
TCustomForm. TPosition is used in the implementation of the
MoveToDefaultPosition method in TCustomForm.
See also
Values
poDesigned | The Form appears exactly as it is positioned and sized in the Form Designer. |
poDefault | The window manager decides how the form is to appear, in a default position and size. |
poDefaultPosOnly | Keeps the designed form size, but position determined by window manager. |
poDefaultSizeOnly | Keeps the designed form position, but size determined by window manager. |
poScreenCenter | Centers the form on screen. |
poDesktopCenter | Centers the form on the desktop (not recommended, use poScreenCenter). |
poMainFormCenter | Centers the form on the Main Form. |
poOwnerFormCenter | Centers the form on its Owner form. |
poWorkAreaCenter |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
