Skip to main content

TdxRibbonCustomBackstageView.OnTabClick Event

Enables you to respond to end-user tab selection.

Declaration

property OnTabClick: TdxRibbonBackstageViewTabClickEvent read; write;

Remarks

Sender specifies the menu that owns tabs.

ATab specifies the selected tab.

Handle this event to respond to end-user tab selection performed using any of the following methods:

  • Clicking a tab;

  • Using a tab page KeyTip;

  • Pressing the Enter key while a tab is hot-tracked;

  • Pressing the Up Arrow or Down Arrow key to move selection to a tab.

Unlike the OnTabChanging and OnTabChanged events, the OnTabClick event fires even when a currently active tab is selected. So, with the OnTabClick event, you can dynamically update the content of any tab whenever an end-user selects it.

See Also