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

Home » Public Forums » archive » Help !
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Help ! [message #14904] Thu, 01 April 1999 00:00
VU KHAC Tri is currently offline  VU KHAC Tri
Messages: 25
Registered: March 1999
Junior Member
Hi folks,

I write a procedure which reads an image when a button pressed.

pro BTLoad_Event, event
WIDGET_CONTROL, event.id, GET_UVALUE = info
fname = DIALOG_PICKFILE(FILE = info.filename, /READ, FILTER = '*.hdr',
$
/MUST_EXIST, /FIX_FILTER, PATH = path, /NOCONFIRM)
IF fname NE "" THEN BEGIN
Read_Analyze, fname, info.image
;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ENDIF
end

pro Read_Analyze, File, Image
;it reads some data from the file and modifies some fields in Image
end;

I see that in the Read_Analyze, data is read correctly, but in
BTLoad_Event, info.image is not modified. Anyone can tell me why ?

Best regards,
Tri.
[Message index]
 
Read Message
Previous Topic: Re: Raster DEM to DXF Contours
Next Topic: Re: REPENT: & irreverent "humour" � � ` ��

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

Current Time: Fri Oct 10 11:01:28 PDT 2025

Total time taken to generate the page: 1.03760 seconds