PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms LostFocus For a TabPage

Reply

LostFocus For a TabPage

 
Thread Tools Rate Thread
Old 09-12-2003, 11:06 PM   #1
Suresh Munagala
Guest
 
Posts: n/a
Default LostFocus For a TabPage


Hi,

Can any one please let me know, how to trap the Lost Focus
event for a tab page. I have to do some processing as soon
as the TabPage losses the Focus. If this is not possible i
really appreciate if some one could tell me the work
around for this problem

Thank you
Suresh
  Reply With Quote
Old 10-12-2003, 03:06 AM   #2
Brian
Guest
 
Posts: n/a
Default Re: LostFocus For a TabPage

You could capture the TabControl1_SelectedIndexChanged event and do the
validating from there.


"Suresh Munagala" <anonymous@discussions.microsoft.com> wrote in message
news:0f6001c3bea9$1e3e3690$a001280a@phx.gbl...
> Hi,
>
> Can any one please let me know, how to trap the Lost Focus
> event for a tab page. I have to do some processing as soon
> as the TabPage losses the Focus. If this is not possible i
> really appreciate if some one could tell me the work
> around for this problem
>
> Thank you
> Suresh



  Reply With Quote
Old 10-12-2003, 09:16 AM   #3
Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
Default Re: LostFocus For a TabPage

* "Suresh Munagala" <anonymous@discussions.microsoft.com> scripsit:
> Can any one please let me know, how to trap the Lost Focus
> event for a tab page. I have to do some processing as soon
> as the TabPage losses the Focus. If this is not possible i
> really appreciate if some one could tell me the work
> around for this problem


If you want to detect when the selected tab is changing:

This code shows how to detect when the selected tab changes:

<http://www.google.de/groups?selm=hxAg9.261485%24kp.887854%40rwcrnsc52.ops.asp.att.net>

Maybe you can use it.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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