TabControl - Right Mouse Click event

  • Thread starter Thread starter Nathan Williams via .NET 247
  • Start date Start date
N

Nathan Williams via .NET 247

I'd like to be able to capture a Right Mouse Click event on aparticular Tab and popup a context menu to allow the user toclose the tab without the tab having to be the current selectedtab. Does anyone know if this possible? I have yet to find away to accomplish this somewhat simple task.

Thanks,
 
I posted code for this not so long ago.
It now lives on my site under the heading.
Associate a ContextMenu with the TabItem headers of a Tabcontrol.
http://homepage.ntlworld.com/mdaudi100/alternate/tabcontrols.html

--
Mick Doherty
http://homepage.ntlworld.com/mdaudi100/alternate/home.html


I'd like to be able to capture a Right Mouse Click event on a particular Tab
and popup a context menu to allow the user to close the tab without the tab
having to be the current selected tab. Does anyone know if this possible?
I have yet to find a way to accomplish this somewhat simple task.
 
Back
Top