Skip to main content

TcxCustomSplitter.OnAfterOpen Event

Fires immediately after the splitter is opened either by end-users or via code.

Declaration

property OnAfterOpen: TNotifyEvent read; write;

Remarks

Write an OnAfterOpen event handler to do something after the splitter has been opened (i.e. when the bound control has been expanded). End-users can open a closed splitter by clicking the hot zone, if it is enabled. You can open the splitter using the OpenSplitter method or the State property.

The Sender parameter holds the splitter control that has been opened.

The OnAfterOpen event can be used to discard changes made in the OnAfterClose event handler. This can be used, for instance, to recalculate the layout of controls on your form for display purposes.

See Also