Hey everyone,
I am trying to figure out how I can tell what object has been right clicked. Let me explain the situation.
I have a tab control, an user can create several tabs (I've yet to program a limit into it), basically when a user clicks a button, a tab is created and a custom control is dropped on that tab. Each tab is named based on how many tabs are open. So basically I can't use an event to know when a certain tab is right clicked, so I need to figure out how I can capture what object was just clicked so I can use it to say close the tab.
Also does anyone know how you can change the color the tab control itself when all tabs are closed? Right now it is an ugly gray color.
Thanks for the help.
I am trying to figure out how I can tell what object has been right clicked. Let me explain the situation.
I have a tab control, an user can create several tabs (I've yet to program a limit into it), basically when a user clicks a button, a tab is created and a custom control is dropped on that tab. Each tab is named based on how many tabs are open. So basically I can't use an event to know when a certain tab is right clicked, so I need to figure out how I can capture what object was just clicked so I can use it to say close the tab.
Also does anyone know how you can change the color the tab control itself when all tabs are closed? Right now it is an ugly gray color.
Thanks for the help.