🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Thread with Key Press

#6703
From: Andrue Cope [TeamB]
Date: Fri, 15 Apr 2005 14:57
15 lines
1437 bytes
Andrew McIsaac wrote:

> Is there a Global key Press command to recognize a key has been 
> pressed even if on different component ?

You mention components - does that mean you are working with the VCL?
If so then you should be asking your questions in .VCL.COMPONENTS.USING
rather than here. If you are using the VCL then TForm has a property
"KeyPreview" which when set to true means that the TForm gets to see
keypresses before any of its child components.

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <425fd6d7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <425fd488@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6d876b6adec96a2
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: Thread with Key Press
Newsgroups: borland.public.cppbuilder.nativeapi
References: <425fd488@newsgroups.borland.com>
Date: Fri, 15 Apr 2005 15:57:54 +0100
User-Agent: XanaNews/1.17.3.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <425fd6d7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113577175 217.207.223.34 (15 Apr 2005 07:59:35 -0800)
Lines: 15
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail