DockStart Event 480

Applies To: CoolBand, CoolBar, Form, SubForm, ToolControl

Description

If enabled, this event is reported by a dockable object (one whose Dockable property is set to 1) when the user starts to drag it using the mouse.

The event message reported as the result of ⎕DQ, or supplied as the right argument to your callback function, is a 2-element vector as follows :

[1] Object ref or character vector
[2] Event 'DockStart' or 480

A callback function may prevent the docking operation from starting by returning 0.

The associated callback is run immediately while the windows notification is still on the stack. See High-Priority Callback Functions.