DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 15 Aug 2007 09:32:08 -0700,    posted on: microsoft.public.dotnet.academic        back       

Thread Index
  1    Eitan
          2    pvdg42 am
          3    pvdg42 am
                 4    Eitan


How to detect when a Tab Control loses its focus   
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
Date:Wed, 15 Aug 2007 09:32:08 -0700   Author:  

Re: How to detect when a Tab Control loses its focus   
"Eitan"  wrote in message 
news:86F3A19D-2A05-4D43-99F8-62A61ADEE974@microsoft.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


Have you tried using the current tab page leave event?
Date:Wed, 15 Aug 2007 14:06:28 -0500   Author:  

Re: How to detect when a Tab Control loses its focus   
"Eitan"  wrote in message 
news:86F3A19D-2A05-4D43-99F8-62A61ADEE974@microsoft.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?
Date:Wed, 15 Aug 2007 14:08:41 -0500   Author:  

Re: How to detect when a Tab Control loses its focus   
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:


> 
> "Eitan"  wrote in message 
> news:86F3A19D-2A05-4D43-99F8-62A61ADEE974@microsoft.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? 
> 
> 
> 
Date:Wed, 15 Aug 2007 12:14:01 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us