I'm implementing an application which navigate on a website, using Delphi Twebbrowser object: as final step, there's a link to click. The event associated with the link is my nightmare, because:
- if I try to fire the event (parentWindow.ExecScript) or to click on the link, I get
an error: something like "the object is null"...if I select to continue the excecution, nothing happens.
- While...if I don't click on the link by code, and I do it with the mouse click, the script open a new window and it works fine.
I also wrote an handler for "OnNewWindow2": if I click on the link with mouse, the event fires...but by code, it sleeps...
Is there someone can help me? PLEASE HELP ME!
Thanks a lot...I hope you understand my poor english...