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

TdxCustomRibbon.OnTabChanging Event

In This Article

Fires when an active Ribbon tab is about to be changed.

#Declaration

Delphi
property OnTabChanging: TdxRibbonTabChangingEvent read; write;

#Remarks

This event fires when an inactive Ribbon tab is clicked, or when this tab is assigned to the Ribbon’s ActiveTab property.

Implement the OnTabChanging event handler to perform additional actions (for example, to prevent the ANewTab from being selected) before the active tab is changed.

ANewTab specifies the tab that is to be made active;

Allow specifies whether the active tab can be changed. Set Allow to True to select ANewTab. Otherwise, the currently active tab will remain selected.

See Also