Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - webbrowser control - clicking controls
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

webbrowser control - clicking controls

 Post Reply Post Reply
Author
Message
fuxi View Drop Down
Groupie
Groupie


Joined: 15 December 2008
Location: Germany
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote fuxi Quote  Post ReplyReply Direct Link To This Post Topic: webbrowser control - clicking controls
    Posted: 30 June 2009 at 8:11pm
hi,

when clicking eg. on a submit button in a html page by code (eg. using mybutton.click) - it causes a page reload.
the question: how can i detect synchronously if the page has finished loading?

it works nice with .navigate like:

browser.navigate url
msgbox "done!"

for clicking elements i tried it like this: wait until the DocumentComplete event is being fired.
it seems like this method is not very reliable and doesnt always work.
so i was wondering if there was a better method?

thanks in advance,
fuxi
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.