We are writing a program that consists of a
main program and a couple of ActiveX controls.
The main program hosts the ActiveX controls by
supplying a panel for each one and uses a descendent
of TOleControl to show the ActiveX control on the
form.
One of the ActiveX controls is a web browser. The
TWebBrowser component is placed on a ActiveForm and
build to a ocx or dll. The main program constructs
a panel or form and the TOleControl and loads the
web browser ocx into the TOleControl.
The problem is that the TAB and DELETE keys
(and more shortcut keys) do not work
in the web browser.
I have tried the solution by H. Fournier found in
the FAQ at http://members.home.net/hfournier, but that
only works if the TWebBrowser control is placed on a
form and used directly in an application (so, not
used in a DLL).
I also tried the solution of subclassing frames at
http://community.borland.com/article/1,1410,6302,00.html
and that seemed to work in Delphi4, but not in Delphi5.
Does anybody have a solution?
We are using Delphi 5 with updatepack 1.
Thanks in advance
Bart.