Skip to main content

TdxCustomLayoutGroup.OnTabChanging Event

Enables you to prevent tab switching.

Declaration

property OnTabChanging: TdxLayoutGroupTabChangingEvent read; write;

Remarks

Fires when a selected tab is about to be changed.

Sender specifies the tabbed layout group that generates this event.

ANewTabIndex specifies the currently selected tab.

Allow specifies whether tab switching is allowed. Set Allow to False, to prevent tab switching.

This event is not generated in customization mode.

See Also