Tab control mouse enter

G

Guest

Is there a way to determine what TabPage the mouse pointer is at, either on
the mouse enter of the TabControl or TabPage? I'm simply wanting to
determine the TabPage that the mouse is over. Does anybody have any examples?
 
C

Cor Ligthert [MVP]

Blue,

The tabpage tab as no event, so this will mean measuring while it has as
well in Net 1.x some bugs that can destroy your approach.

Have a look if it is here, this is in my opinion the best website for the
tabpage. (If it is not exactly there than have a look at the part of
coloring the tabs on this website)

http://dotnetrix.co.uk/tabcontrols.html

I hope this helps,

Cor
 
M

Mick Doherty

It's there, but it's disguised as "Associate a ContextMenu with the TabItem
headers of a Tabcontrol."

:)
 

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