TAdvWebBrowser not firing OnDocumentComplete

I am using the TAdvWebBrowser in XE7 and everything is working great. The only thing I am now having problems with is that after calling Navigate, the OnDocumentComplete is never fired. How can I tell when a page has completed loading?

Thanks!

-ed

Nevermind (facepalm)... The OnNavigateComplete event seems to work for my purposes. Just didn't scroll down the list of events far enough.

Thanks!

-ed

Hi,

Just FYI, the OnDocumentComplete event is not triggered by default. It will trigger when calling AdvWebBrowser1.StartDocumentReadyStateThread; in the constructor of the form.