You are right Larry - I already got the Char(160) from looking at Mike B's examples, and yes, while it works it DOES allow too much space. But I can definitely live with it until your enhancement comes in!
David David Blocker [EMAIL PROTECTED] 781-784-1919 Fax: 781-784-1860 Cell: 339-206-0261 ----- Original Message ----- From: "Lawrence Lustig" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, November 17, 2004 11:41 PM Subject: [RBG7-L] - Re: Fixed widths for columns in variable list box > > ((LJS(InvNum,20))+ '.'),ImpDOIN,ExistDOIN > > > > This places a period after each value and forces R:Base to show a fixed > > width. But the period is very klugy. Is there a better solution? > > The magic character is (I think) CHAR(160): > > ((LJS(InvNum,20))+ CHAR(160)),ImpDOIN,ExistDOIN > > This will give you the fixed width appearance you need to let you line up the > column headings without stray characters showing in the list. > > It's still not ideal, however, since R:Base seems to calculate the font metrics > using maximum line width in characters times the maximum character width -- > meaning that the display for each column is generally a good deal wider than > the actual column data. I have a request for a property to let you specify a > comma-delimited set of column widths (a la "another program") so that you can > get whatever effect you want -- perhaps if you were to submit a similar request > that might bump it up in the priority list. > -- > Larry > >
