comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Status Bar Help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Status Bar Help [message #13675 is a reply to message #13673] Thu, 19 November 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Bernard Puc (bpuc@va.aetc.com) writes:

> I have a status bar widget which shows progress of a file read when
> that read involves a loop. Are there any ways of doing the same
> thing but for a single read without a loop? I have large image
> arrays which can take many seconds to load and would like a
> graphical feedback as to the progress.

If you know how long it is going to take to read the
file, more or less, you could implement the progress
indicator with a Timer event. The problem is that you
couldn't do anything useful with a Cancel button, since
you couldn't interrupt the read.

Given this, why not save yourself the trouble and just
do an Hourglass while the read is going on?

I realize that a progress indicator makes the user feel a bit
more secure that *something* is going on. Even though,
in this case, it probably isn't what the user thinks
it is. Still, good programs certainly take user
psychology into account. That is, *IF* you can understand
user psychology. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Progamming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Regarding READ_BMP - Just starting out, please help
Next Topic: Status Bar Help

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Dec 02 21:54:18 PST 2025

Total time taken to generate the page: 1.68110 seconds