HighTechTalks DotNet Forums  

How to detect when a Tab Control loses its focus

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss How to detect when a Tab Control loses its focus in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
=?Utf-8?B?RWl0YW4=?=
 
Posts: n/a

Default How to detect when a Tab Control loses its focus - 08-15-2007 , 12:32 PM






Hello,

I have a WinForm application. The form has one Tab Control and one
ToolStrip. I would like to know what would be the best way to detect when
the user is "leaving" the Tab Control and "moving" into ToolStrip.

Thank you
EitanB

Reply With Quote
  #2  
Old   
pvdg42
 
Posts: n/a

Default Re: How to detect when a Tab Control loses its focus - 08-15-2007 , 03:06 PM







"Eitan" <Eitan (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I have a WinForm application. The form has one Tab Control and one
ToolStrip. I would like to know what would be the best way to detect when
the user is "leaving" the Tab Control and "moving" into ToolStrip.

Thank you
EitanB
Have you tried using the current tab page leave event?




Reply With Quote
  #3  
Old   
pvdg42
 
Posts: n/a

Default Re: How to detect when a Tab Control loses its focus - 08-15-2007 , 03:08 PM




"Eitan" <Eitan (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I have a WinForm application. The form has one Tab Control and one
ToolStrip. I would like to know what would be the best way to detect when
the user is "leaving" the Tab Control and "moving" into ToolStrip.

Thank you
EitanB
What about thr ToolStrip control's Enter event?




Reply With Quote
  #4  
Old   
=?Utf-8?B?RWl0YW4=?=
 
Posts: n/a

Default Re: How to detect when a Tab Control loses its focus - 08-15-2007 , 03:14 PM



Hello,

The Leave on the Tab Control is not triggered when I press one of the
controls on the ToolStrip..... It only triggers when I switch between tabs
on the Tab Control....

Thank you
Eitan


"pvdg42" wrote:

Quote:
"Eitan" <Eitan (AT) discussions (DOT) microsoft.com> wrote in message
news:86F3A19D-2A05-4D43-99F8-62A61ADEE974 (AT) microsoft (DOT) com...
Hello,

I have a WinForm application. The form has one Tab Control and one
ToolStrip. I would like to know what would be the best way to detect when
the user is "leaving" the Tab Control and "moving" into ToolStrip.

Thank you
EitanB

What about thr ToolStrip control's Enter event?




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.