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

TDockZone

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TDockZone is a node in the TDockTree and encapsulates a region into which other zones or a single control are contained.

Declaration

Source position: controls.pp line 1886

type TDockZone = class

protected

  function GetHeight; virtual;

  

GetHeight - returns height for dock zone

  function GetLeft; virtual;

  

GetLeft - returns the position of the left hand border

  function GetLimitBegin; virtual;

  

GetLimitBegin - returns the limit for the beginning of the zone

  function GetLimitSize; virtual;

  

GetLimitSize - returns the limit for the size of the zone

  function GetTop; virtual;

  

GetTop - returns the position of the top

  function GetVisible; virtual;

  

GetVisible - returns the Visible status

  function GetVisibleChildCount; virtual;

  

GetVisibleChildCount - returns the number of visible children

  function GetWidth; virtual;

  

GetWidth - returns the width of the zone

public

  constructor Create();

  function FindZone();

  

FindZone - returns the Dockzone for the nominated control

  function FirstVisibleChild;

  

FirstVisibleChild - returns the first visible child zone

  function GetNextVisibleZone;

  

GetNextVisibleZone - returns the next visible zone

  function NextVisible;

  

NextVisible - returns next visible

  function PrevVisible;

  

PrevVisible - returns the previous visible

  procedure AddAsFirstChild();

  

AddAsFirstChild - add a new zone as the first child

  procedure AddAsLastChild();

  

AddAsLastChild - add an new zone as the last child

  procedure ReplaceChild();

  

ReplaceChild - replace the OldChild zone with the NewChild

  function GetLastChild;

  

GetLastChild - returns the last child zone

  function GetIndex;

  

GetIndex - returns the index of the current zone

  procedure Remove();

  

Remove the nominated child zone

  property ChildControl: TControl; [r]

  

The child control to be docked here

  property ChildCount: Integer; [r]

  

The number of child controls for docking

  property FirstChild: TDockZone; [r]

  

The first child control in the list of controls for docking

  property Height: Integer; [r]

  

The height of this control

  property Left: Integer; [r]

  

The position of the left side to the control

  property LimitBegin: Integer; [r]

  

The beginning limit of the DockZone (Left or Top)

  property LimitSize: Integer; [r]

  

The size of the limits of the DockZone (Width or Height)

  property Orientation: TDockOrientation; [rw]

  

Whether docking is oriented vertically, horizontally, in pages, or not at all

  property Parent: TDockZone; [r]

  

The parent dock zone to which this control is docked

  property Top: Integer; [r]

  

The top coordinate of this control

  property Tree: TDockTree; [r]

  

The dock tree of which this dock zone is a part

  property Visible: Boolean; [r]

  

Is the control visible?

  property VisibleChildCount: Integer; [r]

  

VisibleChildCount - the number of visible child controls

  property Width: Integer; [r]

  

The width of this control

  property NextSibling: TDockZone; [r]

  

The next sibling (related control atthe same level) in the list of docked controls

  property PrevSibling: TDockZone; [r]

  

The previous sibling (control at the same level) in the list of docked controls

end;

Inheritance

TDockZone

  

TDockZone is a node in the TDockTree and encapsulates a region into which other zones or a single control are contained.

|

TObject

Description

This is an ancestor class for TDockTree, in the sense that it forms the elementary component of which the tree is constructed