Skip to main content

TcxPageControl.OnPageChanging Event

Fires immediately before an active page changes.

Declaration

property OnPageChanging: TcxPageChangingEvent read; write;

Remarks

Write an OnPageChanging event handler to perform specific actions each time an active page is about to be changed. You can prevent the change by setting the AllowChange parameter to False.

The Sender parameter specifies the page control, whose active page is about to be changed. The NewPage parameter allows you to access the page which is about to be activated.

See Also