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

Home » Public Forums » archive » Catching events within Widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Catching events within Widgets [message #5941] Fri, 08 March 1996 00:00 Go to previous message
justin is currently offline  justin
Messages: 1
Registered: March 1996
Junior Member
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.
At present there is a flag defined in common blocks within the event handler
and the called procedure, and the procedure runs on a 'while flag eq 1' type
loop. When the stop button is pressed the flag should be set to zero so the
procedure 'hears about' it through the common block. The events do get
queued, yet they are never actioned on.
Is there anyway to check to see if any events are queued and if so action on
them, and do this within a procedure?
Without going into details, using the timer event just isn't suitable for my
procedure.

Thanks for any help,

Justin.

PS Should you reply could you email also since my news provider is expiring
articles every 24hours at best- thanks.

Justin Ashmall
Space Physics Group, Imperial College, London
email justin@ic.ac.uk or j.ashmall@ic.ac.uk
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Q:[WAVE]:Reading binary data?
Next Topic: Re: constrained least-square fit

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

Current Time: Wed Oct 08 15:53:59 PDT 2025

Total time taken to generate the page: 0.00924 seconds