BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar

Community Trekker


Jun 23, 2011

ListBox - how to reset its width?

I've got a menu with a ListBox, and I initially set its width (pixels).  This works fine.  Later I clear and append its contents.  Unfortunately, this shrinks the original width and I am unable to reset it to the original width value.  Anyone know how to reset a ListBox's width?

Example (JMP 9.0.3):

myLB = ListBox(myContents,width(150),nlines(3));

After this, I clear contents and refresh myContents with a new list (that works fine).  However, the ListBox width now shrinks.  I've tried with no success the following thinking JSL might have some hidden goodies not documented:


myLB<<set width(150);

any help much appreciated... dj