473,323 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Tab control mouse enter

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?

Nov 21 '05 #1
3 2043
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

"blue_nirvana" <bl*********@discussions.microsoft.com> schreef in bericht
news:DE**********************************@microsof t.com...
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?

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

:-)

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:Ov**************@tk2msftngp13.phx.gbl...
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

"blue_nirvana" <bl*********@discussions.microsoft.com> schreef in bericht
news:DE**********************************@microsof t.com...
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?


Nov 21 '05 #3
That was exactly what I was looking for. Thanks Cor and Mick.

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

:-)

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:Ov**************@tk2msftngp13.phx.gbl...
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

"blue_nirvana" <bl*********@discussions.microsoft.com> schreef in bericht
news:DE**********************************@microsof t.com...
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?



Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: wesley | last post by:
Hello, My application is hosting three WebBrowser control. What I am trying to do is when the mouse move over one of the WebBrowser controls I want to set the focus on that control so the mouse...
5
by: Vinny Vin | last post by:
I would like to display a ToolTip (WinForms) when the Control associated recieves focus (when the control.enter event is triggered) as oppose to having the ToolTip displayed when the mouse hovers...
3
by: Bill English | last post by:
Is it possible to make a user control sizable, so that when the program is running, it can be resized? -- I am a 14 year old C# developer, I am completely self taught, so please don't get mad if...
3
by: Rachel Suddeth | last post by:
I didn't know what to put for a subject, so I just tell you a problem requirement they want for my ap. If the user hovers over a disabled control, they want a text bubble to explain why it's...
2
by: Serge | last post by:
Hi, in my windows.forms application I have added a goupBox control to my windows.form. Now I want to know the x,y-position from the mouse cursor when I click on the groupBox. The strange thing...
15
by: Tinus | last post by:
Hello all, I've created a custom control that draws a monthly schedule (using the Draw function in C#). Basically it draws 31 boxes and writes the day number in every box. This works...
2
by: bretth | last post by:
In a VB.Net Windows Forms application, I have a user control that handles mouse events. Another section of code programmatically adds a label to the control. I would like label to ignore all...
6
by: Rich | last post by:
Hello, I have an application that contains several checkboxes. I originally created this app in VB.Net 2003 and upgraded the app to VB.Net 2005. I understand the vb2005 supports control...
4
by: Jon Slaughter | last post by:
I've created some custom controls and forms that allow the feature to temporarily transfer focus to a control that has been entered by the mouse. Everything seems to work fine but the problem I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.