Skip to main content

TdxCustomNavBar.OnActiveGroupChanged Event

Fires after the active group has been changed.

Declaration

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