Vcl.Controls.TUnDockEvent
Delphi
TUnDockEvent = procedure(Sender: TObject; Client: TControl;
NewTarget: TWinControl; var Allow: Boolean) of object;
C++
typedef void __fastcall (__closure *TUnDockEvent)(System::TObject* Sender, TControl* Client, TWinControl* NewTarget, bool &Allow);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
Description
TUnDockEvent is the type of the OnUnDock event handler.
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.