|[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index]||[#lcl]|
Event handler signalled before a control is undocked from its DockSite.
Source position: controls.pp line 2290
OnUnDock is a TUnDockEvent property with the event handler signalled before a control is undocked from its DockSite. The event handler arguments identify the control with the DockSite, the client control which will become undocked, the control that has the new dock site, and a Boolean which indicates if the operation is allowed.
The event handler can be used to disallow undocking by setting the Boolean argument to False in the handler routine.
OnUnDock is signalled from the DoUnDock method.
Notifies an OnUnDock handler and the DockManager of an undocked client control.
|CT Web help|