 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
slycaper Guest
|
Posted: Sat Dec 16, 2006 12:27 am Post subject: load XML file progress bar |
|
|
Hello,
I'm trying to figure out how to attach a progress bar to the xml load
progress. I've explored options such as onreadystatechange but I haven't
been able to get it to work. I'd like to be able to update the progress
bar when the load is 25%, 50% and 75% complete. I'd take anything right
about now though. Anyone have any thoughts? My object is an
IXMLDOMDocument2.
FDOMDoc := GetDOMDocument;
FDOMDoc.setProperty('SelectionLanguage', 'XPath');
FDOMDoc.async := true;
FDOMDoc.validateOnParse := true;
FDOMDoc.resolveExternals := true;
FDOMDoc.preserveWhiteSpace := false;
Thanks! |
|
| Back to top |
|
 |
Andrea Raimondi Guest
|
Posted: Tue Jan 09, 2007 11:29 pm Post subject: Re: load XML file progress bar |
|
|
slycaper ha scritto:
| Quote: | Hello,
I'm trying to figure out how to attach a progress bar to the xml load
progress. I've explored options such as onreadystatechange but I haven't
been able to get it to work. I'd like to be able to update the progress
|
IMHO, your best option is to load it progressively using a stream and
update your progress bar accordingly, then feed it to the IXMLDocument
instance.
Welcome,
Andrew |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|