Vcl.ComCtrls.TPageControl.OnUnDock
Delphi
property OnUnDock;
C++
__property OnUnDock;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TPageControl |
Description
Occurs when the application tries to undock a control that is docked to the windowed control.
Vcl.ComCtrls.TPageControl.OnUnDock inherits from Vcl.Controls.TWinControl.OnUnDock. All content below this line refers to Vcl.Controls.TWinControl.OnUnDock.
Occurs when the application tries to undock a control that is docked to the windowed control.
Write an OnUnDock event handler to adjust the windowed control when a dock client is undocked. The OnUnDock event handler can make any necessary adjustments, or it can block the undock attempt by setting the Allow parameter to false.
OnUnDock is an event handler of type Vcl.Controls.TUnDockEvent.
See Also
Code Examples