🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7206

Re: Input Focus

#7206
From: Greg Bullock
Date: Thu, 03 Mar 2005 01:06
18 lines
1398 bytes
You might try handling the OnDeactivate events for both your TForm 
decendants and for TApplication, then try to put the focus back where it 
was.

HTH
Greg

"Oleg Tiktinski" <oleg@sequoiap.com> wrote in message 
news:4224dcf1$1@newsgroups.borland.com...
> Hi All,
>
> In Application i have Windows which should receive input from keyboard in 
> all the cases. Is there is any way to get back lost input focus ? ( 
> SetFocus not working ).
>
> Thanks in advance.
>
> Oleg. 
Technical Details
Message-ID: <42266315$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4224dcf1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,95d59a5d46fbe5a1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Greg Bullock" <greg dot bullock at atk dot com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4224dcf1$1@newsgroups.borland.com>
Subject: Re: Input Focus
Date: Wed, 2 Mar 2005 17:06:24 -0800
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 138.64.190.39
Message-ID: <42266315$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109811989 138.64.190.39 (2 Mar 2005 17:06:29 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail