Returning Values in iTools [message #46939] |
Tue, 10 January 2006 12:03 |
James Everton
Messages: 19 Registered: November 2005
|
Junior Member |
|
|
Hello everyone,
I'm, once again, back at trying to figure out this iTools environment,
and I was hoping to get a little bit of expert insight from you guys.
Currently, I've got an itool that is based on the iImage program with a
panel I created listing some thumbnails. Nothing too spectacular. The
problem I've got right now is that I need to be able to return
different values depending on whether the user closes the program
normally or clicks a button (that I still need to implement).
Whether or not you read a previous posting of mine, I was having
trouble with a similar task using XMANAGER with IDL Widgets. In this
case, however, I can't ask the iTool to pause the calling program when
I call IDLITSYS_CREATETOOL in order to change the return value on the
calling program, like XMANAGER does automatically (unless you use the
/no_block keyword). I'm at a bit of a loss with what to do, because
there doesn't seem to be any keyword in the IDLITSYS_CREATETOOL method
(since that is the one that instantiates the iTool) that can block the
active command line.
Any help you could provide me is greatly appreciated. Thanks for your
time.
Sincerely,
James Everton
|
|
|