Re: WIDGET_CONTROL, /HOURGLASS ? [message #13241 is a reply to message #13229] |
Thu, 29 October 1998 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Note: A copy of this article was e-mailed to the original poster.
Eric Frans (epfrans@west.raytheon.com) writes:
> I recently discovered the ability IDL 5.1 has to change the cursor to an
> hourglass, which is particularly helpful during time consuming processes
> like reading or writing large files. So I decided to use the line:
> WIDGET_CONTROL, /HOURGLASS
> in a procedure before reading in potentionally huge input files. The
> hourglass cursor appeared fine, but then when I launched a widget from
> the procedure after the input file had been read, the hourglass cursor
> didn't change back to normal, so I wasn't able to modify the widget
> entries at all. Is there some sort of clear command I need?
You could try this:
Widget_Control, Hourglass = 0
Sometimes we forget that /Keyword means Keyword = 1. :-)
Cheers,
David
----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|