On my NTabControl I've specified
hasClose = true and showCloseOnEachTab = true
I also have registered to receive a ClosingTab event.
How can I code the ClosingTab event to determine which tab is being closed?
Setting the Cancel parameter to true does stop the closing of the tab but its not clear how to know which tab it is. I'm on the 11.12.14.12 build.
Thanks again for trying to help. The SelectedTab holds the tab that is currently selected (on top). Since you can close any tab even when its not on top it can't be used for this.
Any other ideas?
Seems like an NTabControl design fix is needed. The tab page index should be added to the event or the event should be called on the NTabPage instead of the NTabControl. Nevron Support, can you add this to a future build?