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

TcxCustomSplitter.OnMoved Event

In This Article

Fires immediately after the splitter’s position has changed.

#Declaration

Delphi
property OnMoved: TNotifyEvent read; write;

#Remarks

You may need to update controls residing on your form when the splitter’s position changes. For instance, you may want to hide controls that are only partially visible and show them again when there is enough room. In such cases, you need to handle the OnMoved event. It is raised each time the splitter is dragged.

The Sender parameter holds the splitter control that moved.

To prohibit splitter movements or to restrict dragging depending on particular conditions, handle the OnCanResize event.

Note

Altering the size of the splitter’s bound control changes its position. In this case, the OnMoved event is not raised.

See Also