Groups | Blog | Home
all groups > dotnet academic > august 2007 >

dotnet academic : How to detect when a Tab Control loses its focus


Eitan
8/15/2007 9:32:08 AM
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
Eitan
8/15/2007 12:14:01 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


[quoted text, click to view]
pvdg42
8/15/2007 2:06:28 PM

[quoted text, click to view]

Have you tried using the current tab page leave event?

pvdg42
8/15/2007 2:08:41 PM

[quoted text, click to view]

What about thr ToolStrip control's Enter event?

AddThis Social Bookmark Button