CMD-TABCHANGED
This event is fired when the user selects a different Tab in the Ribbon control. The EVENT-DATA-1 data item contains the index of the Tab that has been clicked. Before activating the new Tab, the program executes the After Procedure or the Exception Procedure associated with the current control.