Home »
Public Forums »
archive »
Re: Catching events within Widgets
Re: Catching events within Widgets [message #5939] |
Sat, 09 March 1996 00:00 |
mgs
Messages: 144 Registered: March 1995
|
Senior Member |
|
|
In article <DnyMIn.BB2@midway.uchicago.edu>, rivers@cars3.uchicago.edu wrote:
> In article <4hpdpg$205@oban.cc.ic.ac.uk>, justin@ic.ac.uk (Justin) writes:
>>
>> My problem is this: I have written a widget program with start and stop
>> buttons, the trouble is once the start button is pressed the called
procedure
>> grabs control of IDL and so the stop button has no effect.
>
> The fundamental problem is that IDL only allows a single thread of execution.
This is a problem, but not something that can't be worked around. Without
knowing exactly what you're trying to do with the start and stop
functions, take a look at the IDL library procedure xinteranimate. It has
interactive start and stop functions similar to a VCR's controls. Maybe
something similar to that will work for your program.
--
Mike Schienle
Custom Data Visualizations
mgs@www1.utech.net
|
|
|
Current Time: Wed Oct 08 19:19:25 PDT 2025
Total time taken to generate the page: 0.00617 seconds