Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomDockControl.OnStartResizing Event

In This Article

Fires when the resizing operation starts.

#Declaration

Delphi
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