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

Home » Public Forums » archive » FSC_FILESELECT entry field
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
FSC_FILESELECT entry field [message #40071] Fri, 09 July 2004 13:33
Wayne Landsman is currently offline  Wayne Landsman
Messages: 117
Registered: January 1997
Senior Member
I am using David Fanning's FSC_FILESELECT
(http://www.dfanning.com/programs/fsc_fileselect.pro ) as part of an
image display widget (so every time a new file name is entered, the file
is read and the image display updated). It works fine so long as
one uses the BROWSE button to select a file. But if the directory or
file name is entered manually, then an event is triggered with every
keystroke (e.g. each letter of a directory name), whereas I would only
like an event to be triggered after the user hits [RETURN]. I
suspect that this is a problem in my programming rather than a property
of FSC_FILESELECT since it doesn't appear to occur in the example
included with FSC_FILESELECT.

Any ideas on what I might be doing wrong to cause this behavior? My
call to fsc_fileselect is like this

file = fsc_fileselect(control_base, event_pro='imv_filename',$
/mustexist, filter = '*.fits', /read )

where the program imv_filename reads the file and displays the image.

Thanks, --Wayne Landsman

P.S. I am widget programming for the first time in 10 years so I may not
yet be able to properly phrase the question...
[Message index]
 
Read Message
Previous Topic: Re: Bus error
Next Topic: blank window pops up after exit xmovie

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

Current Time: Wed Oct 08 11:09:44 PDT 2025

Total time taken to generate the page: 0.00413 seconds