Re: text window using widgets [message #18696] |
Thu, 03 February 2000 00:00 |
Alvaro
Messages: 6 Registered: December 1999
|
Junior Member |
|
|
David Fanning <davidf@dfanning.com> escribio:
> Uh, I'd use a text widget with the Editable keyword set to 0.
The problem is to put all sort of text in it. I want to put informaton data
about an image: name, dimensions, units, etc.
I've found an instruction called XDISPLAYFILE vey useful, but I have to put
the text in a file before show it:
XDISPLAYFILE,FILEPATH('info.txt')
Also, I don't like the window that XDISPLAYFILE shows, because it has a
button on it.
Maybe there is another way to put text in a window.
I've tried to use a Table Widget, but I haven't found information about how
to pass information to a table.
Cheers,
Alvaro
____________________________________ ___ __ _
Alvaro, atarela@usc.es
University of Santiago de Compostela (SPAIN)
|
|
|
Re: text window using widgets [message #18730 is a reply to message #18696] |
Tue, 01 February 2000 00:00  |
Michael Asten
Messages: 53 Registered: March 1999
|
Member |
|
|
Or maybe use XDISPLAYFILE to display a scrollable file of any kind of ascii data,
in a non-ediitable format.
Regards,
Michael Asten
David Fanning wrote:
> Alvaro (atarela@usc.es) writes:
>
>> Does someone know how to make a text window using widgets? I need make a
>> window (or something like it) in which I can put all sort of text, like in a
>> text editor but non-editable.
>
> Uh, I'd use a text widget with the Editable keyword set to 0.
>
>> I hope you've understood me.
>
> Me, too. :-)
>
> 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
|
|
|
Re: text window using widgets [message #18740 is a reply to message #18730] |
Mon, 31 January 2000 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Alvaro (atarela@usc.es) writes:
> Does someone know how to make a text window using widgets? I need make a
> window (or something like it) in which I can put all sort of text, like in a
> text editor but non-editable.
Uh, I'd use a text widget with the Editable keyword set to 0.
> I hope you've understood me.
Me, too. :-)
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
|
|
|