Q: Clearing Widget Events [message #6785] |
Tue, 13 August 1996 00:00 |
szoonem
Messages: 16 Registered: June 1995
|
Junior Member |
|
|
Hello,
I am trying to write my first serious widget application and the debugging
process is confusing me. I am using IDL 4.0.1 on Mac OS.
When some kind of error happens, the widget hangs up and I clear it with
by pressing the close button. Then I use "WIDGET_CONTROL,/DESTROY,
EVENT.TOP" and a "RETALL" after that. I return to the main and fix the bug
and rerun the widget. The widget comes up but accepts no events and is
totally incative. I have also tried "WIDGET_CONTROL,/CLEAR_EVENTS" and it
doesn't seem to help. The only solution I have found, is to restart IDL.
Does any one have any suggestions? Am I missing some thing very basic?
Thanks in advance,
- Saeid
------------------------------------------------------------ -----
| Saeid Zoonematkermani | E-Mail: szoonem@astro.sunysb.edu |
| Earth and Space Sciences | Voice: (516)632-8237 |
| State University of New York | Fax: (516)632-8742 |
| Stony Brook, NY 11794-2100 | |
------------------------------------------------------------ -----
| Home Page --> http://ozone.ess.sunysb.edu/ |
------------------------------------------------------------ -----
|
|
|