Skip to main content

TdxCustomDockControl.OnStartResizing Event

Fires when the resizing operation starts.

Declaration

property OnStartResizing: TdxResizingEvent read; write;

Remarks

End-users can resize dock controls by dragging their borders. Once the user has pressed the left mouse button while the cursor is over a border, the OnStartResizing event fires. If the mouse button is released, the OnEndResizing event is raised. Note that the actual resizing may not take place between these two events. If you need to response to the actual resizing of a dock control, handle the OnResize event.

The Sender parameter of the OnStartResizing event identifies the control which is about to be resized. The Zone parameter represents the resize zone where the resizing process has been started. You can read its Direction property, for instance, to determine whether the control is resized vertically or horizontally. The X and Y parameters specify the screen coordinates of the mouse pointer.

See Also