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

Home » Public Forums » archive » text window using widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: text window using widgets [message #18786 is a reply to message #18741] Mon, 07 February 2000 00:00 Go to previous messageGo to previous message
Alvaro is currently offline  Alvaro
Messages: 6
Registered: December 1999
Junior Member
David Fanning <davidf@dfanning.com> wrote:

> I guess I'm not following you at all. That stuff is text isn't it?
> Or, at the very least, is can be *made* into text. Why are you
> having trouble putting it in a text widget?
>
> dimensions = Size(image, /Dimensions)
> newText = 'My Image -- Dimensions: [' + StrTrim(dimensions,2) + ']'
> Widget_Control, textID, Set_Value=newText

You are right, there�s no problem with it. But I wanted to put more than one
line.
The solution is very easy, using the /APPEND keyword, as someone wrote me:

Widget_Control, textID, Set_Value='Add to the text', /APPEND

So, this is the end of the problem.

____________________________________ ___ __ _
Alvaro, atarela@usc.es
University of Santiago de Compostela (SPAIN)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Q: Scientific notation in Obj. graphics
Next Topic: Re: Not where

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

Current Time: Tue Dec 02 10:09:18 PST 2025

Total time taken to generate the page: 1.26618 seconds