focus problem

"Brigitte Spatz" <[email protected]> Mon, 25 Aug 2003 11:16:15 +0200
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <001a01c36ae9$91b4df20$8becfea9@LAPTOP>
One of the forms of my application contains a TWebBrowser and a panel
with a button on it. The button's default property has been set to true.
So far, so good. However, as soon as the user clicks on a
(java-script-generated) link on the HTML page in the TWebBrowser, and
then clicks on the button (or presses Enter), its OnClick event doesn't
fire. If the user then Alt-Tabs between this and another application and
back to my application and THEN clicks the button or presses Enter, the
event does fire. What's happening here, and most importantly, how can I
get the event handler to fire every time needed?
 
TIA.
 
Brigitte


[Non-text portions of this message have been removed]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/i7folB/TM
---------------------------------------------------------------------~->

Delphi VCL Top Sites!
http://www.sandbrooksoftware.com/TS/TS2/Components.shtml
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/