Vcl.Controls.TDockTree.RemoveControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RemoveControl(Control: TControl); virtual;

C++

virtual void __fastcall RemoveControl(TControl* Control);

Properties

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

Description

Handles the undocking of a control from the associated DockSite.

The windowed control that uses the dock tree calls RemoveControl when one of its docked controls is undocked.

Control is the control that was just undocked.

RemoveControl adjusts the dock tree's internal structures to indicate that the control is no longer docked, changes the control's DockOrientation property to doNoOrient, and calls DockSite's Invalidate method so that the region is repainted.

See Also