ContextMenuStrip on header of TabPage???

  • Thread starter Thread starter Fre
  • Start date Start date
F

Fre

Hi all,

On a Windows Form I have a TabControl and a ContextMenuStrip. Now I'm
trying to get the ContextMenuStrip only to be shown when right clicked
on the HEADER of the current TabPage (the TAB as I call it). Any ideas
(detecting the right clicking is not the problem of course, but my
context menu shows up on every location of the TabPage, not just the
header)? I once did this in Java (long time ago) so it must be
possible with .NET ;-)

Thanks for your help,
Fre
 
Back
Top