[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TPosition

Represents the Position and Size on Screen of an Form

Declaration

Source position: forms.pp line 58

type TPosition = (

  poDesigned,

  

  poDefault,

  

  poDefaultPosOnly,

  

  poDefaultSizeOnly,

  

  poScreenCenter,

  

  poDesktopCenter,

  

  poMainFormCenter,

  

  poOwnerFormCenter

  

);

Description

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.