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

TDockOrientation

Orientation of DockZones and docked controls, similar to TAlign.

Declaration

Source position: controls.pp line 460

type TDockOrientation = (

  doNoOrient,

  

no orientation applies (like alNone)

  doHorizontal,

  

siblings are arranged horizontally, children top-to-bottom

  doVertical,

  

siblings are arranged vertically, children left-to-right

  doPages

  

children are pages in a tabbed control

);

Description

This is a Delphi relict, bound to TDockTree and not very useful in application code.
All DockZones in an DockTree have a unique orientation, horizontal or vertical, indicating how controls are arranged in this zone. When a control is docked into a zone, it obtains the orientation of that zone.

Remark: The control's orientation can be stored as the opposite of the zone, depending on the used DockManager.
The latest version of this document can be found at lazarus-ccr.sourceforge.net.