Vcl.Controls.TWinControl.OnUnDock

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnUnDock: TUnDockEvent read FOnUnDock write FOnUnDock;

C++

__property TUnDockEvent OnUnDock = {read=FOnUnDock, write=FOnUnDock};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

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