|
-
May 5th, 2007, 07:24 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [2005] Tabcontrol Q
Greetings,
is there a way to give different messages during the MouseMove event depending of the tab the mous is moving over.
e.g. I have a tabControl with 3 tabs. what I like to achive is the following.
If the mouse is over the tab1 ther should a short text be displayed what is possible to do on this tab. same for the other tabs.
thx in advance
-
May 5th, 2007, 08:35 AM
#2
Re: [2005] Tabcontrol Q
I'd suggest setting the ToolTipText of each TabPage.
-
May 5th, 2007, 08:49 AM
#3
Thread Starter
Hyperactive Member
Re: [2005] Tabcontrol Q
 Originally Posted by jmcilhinney
I'd suggest setting the ToolTipText of each TabPage.
Sorry jmcilhinney, but this works only if the tab is selected. The displaying of the text is not a problem.
What i try is: during the move over the different tabs the discription for each tab is displayed, so the user know what each tab is containing.
Maybe during my lack of english i have not properly discribed what i want.
On a Tabcontroll i have 3 Tabs
By default the first TabPage is displayed.
If the User is now moving the mouse over the second tab the mousemove event should reconice that he is now over Tab2 and so on.
in pseudocode i would define the solution like
on TabControll_MouseMove
if mouse is over tab1 then display text1
if mouse is over tab2 then display text2
if mouse is over tab3 then display text3
but how do i know over which tab the mouse is???
Last edited by Bongo; May 5th, 2007 at 08:52 AM.
-
May 5th, 2007, 08:58 AM
#4
Re: [2005] Tabcontrol Q
Follow the advice I have already provided. The ToolTipText fpr a TabPage is displayed when you mouse over the tab, whether that page is selected or not.
-
May 5th, 2007, 09:16 AM
#5
Thread Starter
Hyperactive Member
Re: [RESOLVED] [2005] Tabcontrol Q
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|