🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #642

TCppWebBrowser actives shortcuts in VCL components

#642
From: Jens Nielsen
Date: Tue, 11 Jul 2006 10:46
16 lines
1485 bytes
Hello.

I've placed a TCppWebBrowser control on a TabSheet in an PageControl.

The problem is that if there is user input on the Webpage (e.g. search
function), the keystrokes can activate the other TabSheets on the
PageControl!
E.g. if one Tabsheet has Caption = "&Home", pressing 'H' on the webpage will
activate the "Home" TabSheet.

TCppWebBrowser ignores the KeyPreview property and if you filter it in
Application->OnMessage the webpages don't recieve any keystrokes!

I'm using BCB 5.0

Any good suggestions. Tanx:-)
Technical Details
Message-ID: <44b38056$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,b3679958eb14e6cd,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jens Nielsen" <jn@ifas.dk>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: TCppWebBrowser actives shortcuts in VCL components
Date: Tue, 11 Jul 2006 12:46:50 +0200
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 212.242.182.40
Message-ID: <44b38056$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152614486 212.242.182.40 (11 Jul 2006 03:41:26 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail