PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
::: HTMLControl
::: HTMLControl
Started by Kevin Willis, Feb., 05 2004 7:40 PM - 2 replies
Connect yourself…
Kevin Willis
#1
Posted on February, 05 2004 - 7:40 PM
Is there any way to detect when an HTML control
has been completely populated?
Assume you have an HTML control called 'WEBPAGE':
WEBPAGE = "
http://www.windevus.com
"
Is there anyway to know when this request is completed?
http://www.westcoastsoftwaresolutions.com
Report
0
0
Al
#2
Posted on February, 05 2004 - 10:35 PM
G'day Kevin
I am not sure if you are asking if the field has anything in it or if it has a url in it and it has been executed.
For the former you could use position() to see if one of the standard url extensions like ".com" , ".org", ".net" etc are in the control on the assumption that a valid url will have one of these in it
If you want to know if the url had been accessed via a browser you would need to start the browser using DDE rather than shellexecute, as it returns a status
Regards
Al
Report
0
0
Petert van Vuuren
#3
Posted on February, 06 2004 - 12:41 AM
Hi,
Is there any way to detect when an HTML control
has been completely populated?
Assume you have an HTML control called 'WEBPAGE':
WEBPAGE = "
http://www.windevus.com
"
Is there anyway to know when this request is completed?
Windev's HTML control is based on MSIE. So first if IE is
not installed (maybe not that often on a MS OS , but
possible anyway) then no WinDev HTML control!
An automation example of what you want:
---
objIE is object automation "InternetExplorer.Application"
objIE>>Navigate("
http://www.windevasso.org/
")
while objIE>>Busy = true
multitask(10)
end
multitask(100)
while upper(objIE>>Document>>ReadyState())<>"COMPLETE"
multitask(100)
end
---
Peter
btw, why do you always put ::: in front ?
http://www.xs4all.nl/~petervu
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text