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

TdxCustomNavBar.OnActiveGroupChanged Event

In This Article

Fires after the active group has been changed.

#Declaration

Delphi
property OnActiveGroupChanged: TNotifyEvent read; write;

#Remarks

Handle this event to perform specific actions once either the ActiveGroup or ActiveGroupIndex property value of the NavBar control has been changed. To prohibit a certain group from being activated, handle the OnActiveGroupChanging event.

The OnActiveGroupChanged and OnActiveGroupChanging events do not fire when any of the following takes place:

  • The NavBar control is loaded from a DFM file;

  • Calling the NavBar control’s Groups.Clear method removes all groups.

See Also