Vcl.Controls.TControl.PositionDockRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PositionDockRect(DragDockObject: TDragDockObject); dynamic;

C++

DYNAMIC void __fastcall PositionDockRect(TDragDockObject* DragDockObject);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Positions the docking rectangle according to the current drag-and-dock state.

Use PositionDockRect to adjust the docking rectangle of the drag-and-dock object specified by DragDockObject. DragDockObject's DockRect property is updated to reflect the current drag-and-dock state. This updating process makes use of the UndockWidth, UndockHeight, LRDockWidth, or TBDockHeight property, as appropriate.

See Also