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

Home » Public Forums » archive » Dialog_Write_Image
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Dialog_Write_Image [message #37667] Fri, 09 January 2004 12:18
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Hello All,

Just when I thought I had all my ducks in order...

I am having a challenging moment with the handy built-in
DIALOG_WRITE_IMAGE function.

Try something like the following sequence ...

IDL> img = bytscl(dist(100))
IDL> file = '/Users/Shared/data/test.tif'
IDL> ok = Dialog_Write_Image(img, file = file)

On my version of IDL, when the user chooses the 'go up one directory
level' button, the file name disappears from the "File Name" text
widget. This is not desirable from my point of view - since I really
want the user to use the name I have suggested (often a unique timestamp
or something similar.) I still want the user to have the flexibility
that comes with DIALOG_WRITE_IMAGE (different file types, etc.)

Any suggestions (short of rewriting DIALOG_WRITE_IMAGE) for getting
"File Name" to be stickier? I know that DIALOG_WRITE_IMAGE uses
CW_FileSel for the filename widget - but knowing that doesn't help me at
all.

Thanks,
Ben

IDL> print, !version
{ ppc darwin unix Mac OS X 6.0 Jun 27 2003 32 32}
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Problem masking multiple regions.
Next Topic: Cassini projection

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

Current Time: Wed Oct 08 16:00:46 PDT 2025

Total time taken to generate the page: 0.00689 seconds