RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.TUnDockEvent Type

TUnDockEvent is the type of the OnUnDock event handler.

Pascal
TUnDockEvent = procedure (Sender: TObject; Client: TControl; NewTarget: TWinControl; var Allow: Boolean) of object;
C++
(Sender: TObject; Client: TControl; NewTarget: TWinControl; var Allow: Boolean) ( TUnDockEvent)();

Sender is the object from which a control is being undocked.  

Client is the control that is being undocked.  

NewTarget is the control to which Client is being docked.  

Allow is whether to allow the undocking. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!