Additional components
There are a couple of additional components that can save you a lot of time when working with Internet Explorer in Delphi. "Delphi Event Sink Generator", EventSinkImp, (by Binh Ly/Techvanguards) is a freeware tool that automatically creates non-visual Delphi components that publish sink methods as normal Delphi events so that you can easily use this component at design-time when building applications that need to sink events from Internet Explorer. 1. Download EventSinkImp from www.techvanguards.com 2. Open EventSinkImp and Select Microsoft
Internet Controls from the type libraries
listbox.
4. Open Delphi and select from the menu
Four Components are added to the component palette under "ActiveX": DWebbrowserEvents2 See Automating IE for some demos showing how to use some of these components. Note: When using these components at the same time with the shdocvw_tlb.pas in your Delphi projects, make sure you always put the shdocvw_tlb unit name AFTER these components unit names in the USES clause of the interface section of your unit; otherwise you may get interface conflict errors from the Delphi compiler. You might later want to create sink components for the type library Microsoft HTML Object Library also. |