Hello. I wish to disable a couple of buttons on my form when no tabs are displayed in the TabbedControlGroup.
I've been using the SelectedTabPageChanged event to determine which tab is currently selected. However, on closing the last tab this event is not fired and there appears to be no event to signify that a tab has been closed. Thus I have no way of determining when the user closes the last tab and when to disable the buttons.
On further testing the SelectedTabPageChanged event is triggered when the selectedTabIndex changes from -1 to 0 and any other combination, but when the index changes from 0 to -1 the event is not triggered.
Regards,