Discussion:
focus problem
Brigitte Spatz
2003-08-25 09:16:15 UTC
Permalink
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:delphi-programming-***@yahoogroups.com
List owner:delphi-programming-***@yahoogroups.com
---------------------------------------------------------------

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