[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Represents an node in an TDockTree.
Source position: controls.pp line 2361
type TDockZone = class end; |
||
protected |
||
function GetHeight; virtual; |
||
function GetLeft; virtual; |
||
function GetLimitBegin; virtual; |
||
function GetLimitSize; virtual; |
||
function GetTop; virtual; |
||
function GetVisible; virtual; |
||
function GetVisibleChildCount; virtual; |
|
The number of visible children. |
function GetWidth; virtual; |
||
procedure SetLimitBegin(); virtual; |
||
procedure SetLimitSize(); virtual; |
||
procedure SetHeight(); virtual; |
||
procedure SetLeft(); virtual; |
||
procedure SetTop(); virtual; |
||
procedure SetWidth(); virtual; |
||
public |
||
constructor Create(); |
||
function FindZone(); |
|
Returns the Dockzone containing the given control. |
function FirstVisibleChild; |
|
The first visible child zone. |
function GetNextVisibleZone; |
|
The next visible zone. |
function NextVisible; |
|
The next visible zone. |
function PrevVisible; |
|
The preceding visible zone. |
procedure AddSibling(); |
|
Inserts NewZone as preceding or following sibling. |
procedure AddAsFirstChild(); |
|
Adds the given zone as the first child. |
procedure AddAsLastChild(); |
|
Adds the given zone as the last child. |
procedure ReplaceChild(); |
|
Replace the OldChild zone by NewChild. |
function GetLastChild; |
|
The last child zone. |
function GetIndex; |
|
Calculates the index of the zone within its parent zone. |
procedure Remove(); |
|
Unlinks the given child zone. |
property ChildControl: TControl; [r] |
|
The control docked in this zone. |
property ChildCount: Integer; [r] |
|
The number of child zones. |
property FirstChild: TDockZone; [r] |
|
The first child zone. |
property Height: Integer; [rw] |
|
The height of the zone. |
property Left: Integer; [rw] |
|
The left coordinate of the zone. |
property LimitBegin: Integer; [rw] |
|
The free coordinate of the DockZone (Left or Top). |
property LimitSize: Integer; [rw] |
|
The free size of the DockZone (Width or Height). |
property Orientation: TDockOrientation; [rw] |
|
Whether docking is oriented vertically, horizontally, in pages, or not at all |
|
The parent zone in the DockTree. |
|
property Top: Integer; [rw] |
|
The top coordinate of this zone. |
|
The dock tree of which this dock zone is a part. |
|
property Visible: Boolean; [r] |
|
A zone is visible if it contains a visible control, or if any child zone is visible. |
property VisibleChildCount: Integer; [r] |
|
The number of visible child zones. |
property Width: Integer; [rw] |
|
The width of this zone. |
property NextSibling: TDockZone; [r] |
|
The next sibling zone. |
property PrevSibling: TDockZone; [r] |
|
The preceding sibling zone. |
|
Represents an node in an TDockTree. |
|
| | ||
TObject |
It encapsulates a dock zone, containing either other zones or a single control.
This implementation is specific to TDockTree/LDockTree. Every DockManager can (should!) use its own class instead.
lazarus-ccr.sourceforge.net |