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

Home » Public Forums » archive » Re: text window using widgets
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
Re: text window using widgets [message #18696] Thu, 03 February 2000 00:00
Alvaro is currently offline  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 Go to previous message
Michael Asten is currently offline  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 Go to previous message
davidf is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL on the NET(ION) Anybody used it?
Next Topic: Re: Projects, anyone?

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

Current Time: Sat Oct 11 03:37:56 PDT 2025

Total time taken to generate the page: 1.12101 seconds