Utilizing Identifiers in iTools [message #46633] |
Wed, 30 November 2005 12:15 |
James Everton
Messages: 19 Registered: November 2005
|
Junior Member |
|
|
Hello everyone,
Thanks very much for your help on my last problem. I'm still learning a
lot about IDL and iTools each day that I continue to work with it, so
hopefully I won't need to keep asking for your help, and who knows,
maybe I'll even be able to contribute some day! :o)
Right now, I'm trying to use string identifiers that I get from using
the IDLitTool::FindIdentifiers function. In my main routine, I create a
set of images and put them into the parameter set for my iTool. I use
this style of syntax when adding them to the parameter list:
> oParmSet->Add, OBJ_NEW('IDLitDataIDLImagePixels', image1, $
> NAME='IMAGE1', IDENTIFIER='IMAGE1', $
> _EXTRA=_extra), PARAMETER_NAME='IMAGE1'
When I get into my event handler, I want to update the main
IDLitVisImage with one of the images from the parameter list. The
problem I'm having is this: I can get string identifiers to both the
image and the IDLitVisImage, however I'm not sure how to actually use
those string identifiers to then update the window. Is there some way
to use the string identifier for the image and then turn it into an
image object, or some routine that updates the window and can accept a
string identifer as the argument?
I hope I explained my situation well enough so that you can understand
what's going on. Any help you can give me is, as always, very much
appreciated.
Thanks for your time,
James Everton
|
|
|