🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages Started by Trevor Keegan Mon, 04 Aug 2008 12:03
How to wait for Browser to Update
#119
Author: Trevor Keegan
Date: Mon, 04 Aug 2008 12:03
16 lines
1590 bytes
Hi,

I am trying to automate a Web page using TCppWebBrowser, and everything has 
been going well....until....

There is a radio button, that seems to go away and run a script that changes 
a field from a text field into a Combo Box (along with a few other things). 
My problem is that after I have clicked the radio button, I need to be able 
to wait for this change to happen otherwise my update on the Text/Combobox 
field will fail.

Would appreciate it if someone could help me out on this problem.  Please 
note, that unfortunately the web page is not within my control :(

Regards
Trevor Keegan 
Re: How to wait for Browser to Update
#120
Author: Trevor Keegan
Date: Tue, 05 Aug 2008 03:47
12 lines
1514 bytes
Hi,

Looking further  into my problem, it appears that the page is being 
resubmitted, and that a new page is being loaded (under the same URL). 
Therefore the Navigate and DocumentComplete events are not being fired.

So how can I detect that the new page is ready?  Basically what happens is 
that when the radio button is clicked, the page is submitted and some of the 
fields may change from ComboBox to Text field (and visa-versa).

Regards
Trevor Keegan 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads