Ok, I am having ah ard time figuring this out and was hoping your minds could find a solution. I have a tab control with nonfixed sized tabs. I want to be able to right click on a nonselected tab, bring up the tab control context menu, and close it via the menu options. Unfortunately, I have no idea how to grab the index of the tab when it's not the selected tab. Does anyone have an idea how to grab that index value?
Question
bangbang023 Veteran
Ok, I am having ah ard time figuring this out and was hoping your minds could find a solution. I have a tab control with nonfixed sized tabs. I want to be able to right click on a nonselected tab, bring up the tab control context menu, and close it via the menu options. Unfortunately, I have no idea how to grab the index of the tab when it's not the selected tab. Does anyone have an idea how to grab that index value?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts