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

Home » Public Forums » archive » turning hourglass off after widget_event
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
turning hourglass off after widget_event [message #28672] Mon, 07 January 2002 20:58
Kristine Hensel is currently offline  Kristine Hensel
Messages: 26
Registered: June 1999
Junior Member
I got sick of losing the SHOWPROGRESS widget underneath all my other
zillion widgets (sorry, David), so I put a progress bar and a cancel
button inside one of my widgets.

Within the time-consuming loop, I force events at the cancel button to
be processed using WIDGET_EVENT:
progress_event = WIDGET_EVENT(cancel_button, /nowait), $
/save_hourglass)
The hourglass has been switched on at the beginning of the loop, and
setting /save_hourglass keeps it around until processing is finished,
when it disappears.

EXCEPT THAT this doesn't work in the runtime version - the hourglass
sticks around forever.

Any ideas as to what trick I'm missing?

Thanks,
Kristine

--
Kristine Hensel e-mail: kristine@esands.com
Environmental Systems & Services phone: +61-(0)3-9835-7901
20 Council St., Level 3 fax: +61-(0)3-9835-7900
Hawthorn East, VIC, Australia 3124
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: group_leader
Next Topic: Command line

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

Current Time: Thu Oct 09 07:55:36 PDT 2025

Total time taken to generate the page: 0.88372 seconds