I want to fire an event when right clicking on a tab, not the contents displayed by the tab, but the tabs themselves.
So far, I have tried using the selected event for the tabcontrol:
$maintab.add_selected({do something here})
this only fires when left clicking on the tabs
I also tried all of these, they don't seem to respond to clicks anywhere within the tabcontrol or the tabpages
$maintab.add_mouseUP({do something here})
$maintab.add_mouseDown({do something here})
$maintab.add_click({do something here})
$maintab.add_selecting({do something here})
I have also tried capturing the mouseUP event for the tabpages that have been added to the tabcontrol:
$tabpage.add_mouseUp({do something here})
This only works when clicking on the contents area below the tab, not the tabs themselves.
Is this even possible?