Vcl.ExtCtrls.TControlBar.OnUnDock

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnUnDock: TUnDockEvent read FOnUnDock write FOnUnDock;

C++

__property OnUnDock;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TControlBar

Description

Occurs when the application tries to undock a control that is docked to the windowed control.

Vcl.ExtCtrls.TControlBar.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