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

Home » Public Forums » archive » Re: cancel button to stop w/in an iterative loop?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: cancel button to stop w/in an iterative loop? [message #14563] Mon, 08 March 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
T Bowers (tbowers@nrlssc.navy.mil) writes:

> I slapped a GUI on an iterative function that processes alot
> of data files. I want a cancel button to appear just as the run
> enters the processing loop, and exit out of processing if the
> user pressed the button.

I have a little ShowProgress function on my anonymous
FTP site that illustrates a "show progress" indicator of
the type you are trying to build. You can find the program
at this URL:

ftp://ftp.dfanning.com/pub/dfanning/outgoing/misc/showprogre ss.pro

Compile the file. Then type "Test" to see it work. You
can interrupt the loop with the CANCEL button. Look at the
TEST_EVENT event handler to see how the ShowProgress
program is suppose to work.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155

[Note: This follow-up was e-mailed to the cited author.]
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: ANSI C standard time
Next Topic: autocorrelation routine...

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

Current Time: Wed Oct 08 17:38:14 PDT 2025

Total time taken to generate the page: 0.00517 seconds