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

Home » Public Forums » archive » Re: Concurrent widget program.
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: Concurrent widget program. [message #11912 is a reply to message #11905] Tue, 02 June 1998 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Andy Loughe (afl@cdc.noaa.gov) writes in response to one
of my articles about trying not to put loops in widget
event handlers:

> I am not a widget genius, but isn't that one reason you
> add the hourglass keyword when controlling widgets that
> take "awhile" to process the event?

Absolutely. I try very, very hard to NOT write event handlers
that take a long time to process, but occasionally it is
unavoidable. In that case, you can be sure I turn the
hourglass cursor on before I enter the loop.

But I am also (knowing what I know about users) careful to
use the CLEAR_EVENTS keyword to WIDGET_CONTROL when I come
*out* of that loop! :-)

Cheers,

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Communication between top-level bases.
Next Topic: FFT and CONVOL

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

Current Time: Fri Oct 10 08:31:00 PDT 2025

Total time taken to generate the page: 1.36055 seconds