Re: GetData procedure [message #21395] |
Thu, 24 August 2000 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Aimy (hom@sask.usask.ca) writes:
> Thanks David!
>
> I did some modifications to the program you gave me, and it is now doing
> exactly what I needed!
>
> My only question is if I want to pass a string to appear in the text field
> as a default (just in case the user doesn't want to change it), how do I
> set that value?
Pass it as an argument:
filename = 'mydatafile.dat'
fileInfo = GetData(filename, Parent=event.top)
You can set the initial sizes by using the XSIZE and YSIZE
keywords.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|