XMANAGER, and loops [message #6540] |
Fri, 05 July 1996 00:00 |
George, Rachel, and M
Messages: 1 Registered: July 1996
|
Junior Member |
|
|
Hello,
I am trying to create a widget program with several functions
called by button events. The XMANAGER is used with a widget event
handler inside which a CASE statement block contains the possible events
and corresponding program responses.
If one of the widget buttons is for beginning a continuous loop
like for example what I want to do is shuffle through a stack of images
from beginning to end and repeat until another button is pushed, the STOP
button. How do I retreive the event using the XMANAGER when the event
handler procedure is stuck in a loop? That at least is how I have
attempted to construct the procedure, in this form it does not work. If
I knew how to give control back from the XMANAGER and enter a mode where
I use WIDGET_EVENT statements within the loop then I could but, I can't
figure out how.
A little help would be appreciated.
George McCabe, Cde 693, NASA/GSFC, Grennbelt, MD
xrghm@lepvax.gsfc.nasa.gov
|
|
|