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

Home » Public Forums » archive » Re: Widget_List resizing problem
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: Widget_List resizing problem [message #7260] Mon, 28 October 1996 00:00 Go to previous message
sterner is currently offline  sterner
Messages: 106
Registered: February 1991
Senior Member
davidf@fortnet.org (David Fanning) writes:

. . .
> With respect to list widgets, one thing you might try is to make all
> the string elements in the list the same length. Then there will be no
> need to resize as you scroll through the list. (At least if you are using
> a fixed-spaced font, as you claim.)

Here is a code fragment to pad all the lines of a string array
to match the longest line. It's not as general as David's
function but it might have its place:

padded = string(byte(string_array)>32B)

Ray Sterner sterner@tesla.jhuapl.edu
The Johns Hopkins University North latitude 39.16 degrees.
Applied Physics Laboratory West longitude 76.90 degrees.
Laurel, MD 20723-6099
WWW Home page: http://fermi.jhuapl.edu/s1r/people/res/res.html
[Message index]
 
Read Message
Read Message
Previous Topic: ANNOUNCE: perlDL v1.00 - the 'perl Data Language'
Next Topic: ACR-NEMA reader?

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

Current Time: Fri Oct 10 07:26:23 PDT 2025

Total time taken to generate the page: 0.55925 seconds