ContextMenuStrip on header of TabPage???

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top