Controls.IDockManager.PositionDockRect

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Controls.pas

	procedure PositionDockRect(Client: TControl;
		DropCtl: TControl;
		DropAlign: TAlign;
		var DockRect: TRect);


Unit: Controls

Type: method

Visibility: public

Member Of: IDockManager

C++ Information

From Controls.hpp

	virtual void __fastcall PositionDockRect(Controls::TControl * Client,
		Controls::TControl * DropCtl,
		Controls::TAlign DropAlign,
		Types::TRect & DockRect);


Unit: Controls

Type: method

Visibility: public

Member Of: IDockManager

Description

Computes the dimensions of a new docking zone.


The control that is being dragged calls PositionDockRect from its own PositionDockRect method when it is being docked to a container control that uses a dock manager. It allows the dock manager to indicate where a specified control would appear if the user released the mouse.

Client is the control that is being dragged to a docking position.

DropCtl is the container control into which Client will be docked.

DropAlign indicates where Control is to be docked within the container control.

DockRect returns the boundaries of the docking zone where Control can be docked.

See Also

Personal tools
Translations
Newest Version