[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Represents the Position and Size of a Form on Screen.
Source position: forms.pp line 56
type TPosition = ( |
||
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 windowmanager. |
poDefaultSizeOnly, |
|
Keeps the designed form position, but size determined by windowmanager. |
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 |
||
); |
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 size, but position determined by windowmanager
poDefaultSizeOnly - keeps the Designed position, but size determined by windowmanager
poScreenCenter - Centers the form on screen
poDeskTopCenter - Centers the form on desktop
poMainFormCenter - Centers the Form on the Main Form
poOwnerFormCenter - Centers the Form on Owner form
poWorkAreaCenter - Centers the Form on working area
lazarus-ccr.sourceforge.net |