Skip to main content

TcxCustomSplitter.OnMoved Event

Fires immediately after the splitter’s position has changed.

Declaration

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