| Re: IDL Runtime [message #28002 is a reply to message #27930] |
Wed, 14 November 2001 14:22   |
Andre Kyme
Messages: 19 Registered: September 2001
|
Junior Member |
|
|
Hi again,
Thanks for the replies re RUNTIME and RETALL.
I wasn't aware that retall was solely a debugging tool. But I'll only use
it as such from now on...
Perhaps my problem is some confusion relating to how XMANAGER works. As
far as I can understand if I create a bunch of buttons under a TL base,
then call XMANAGER, the program is 'hung' in a loop checking whether
events are being processed. So far OK? If one of the buttons is clicked,
then we jump to the event handler for that button; but suppose that the
event handler calls an event-processing routine that calls another, that
calls another etc. - so we end up a few levels deep in the processing of
the event. I have used modal prompts along the way in this event
processing so that the user can decide "Yes" "No" "Maybe" and so on. One
option I want to give them is "Cancel back to the bunch of buttons."
Retall seemed a useful way of getting back to main program level, which am
I right in saying will enter us back into the XMANAGER loop ready for the
next event?? David says, "Try a more conventional way than using retall" -
what is the conventional way of returning from deep in event-processing
programs back to the menu buttons? There are no widgets to destroy, I just
want to get back to the state the application was in when first loaded.
Thanks,
Andre Kyme
|
|
|
|