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

Home » Public Forums » archive » Re: help with text widget...
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: help with text widget... [message #47395] Thu, 09 February 2006 20:18 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> I agree you don't want to size the text widget in pixel sizes, probably.
> But XSIZE applies to "character units" (a nebulous unit that requires
> some experience to get right), and YSIZE refers to how many lines of
> output you want. So something like this usually works for me:
>
> textID = Widget_Text(tlb, XSize=String(Replicate(32B, 50), YSize=3)

Whoops! Probably not a good idea to write answers while I'm
trying to chase the dogs to bed. How about this, instead:

textID = Widget_Text(tlb, Value=String(Replicate(32B, 50)), YSize=3)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: help with text widget...
Next Topic: Re: Config files

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

Current Time: Wed Oct 08 19:42:53 PDT 2025

Total time taken to generate the page: 0.00409 seconds