|
-
Dec 6th, 2005, 08:42 PM
#1
Thread Starter
Lively Member
Multicolumn Listbox Widths
I use a list of items from an excel sheet to fill a multi-column list box. I use:
to get the widths from the spread sheet... how can I convert this number from characters to points so that it can be used to set the column widths in the listbox.
I currently mulitply by 5 and it looks close but i'm looking for a more accurate conversion... I have looked around but cannot find much.
Thanks
Matt
-
Dec 7th, 2005, 02:42 AM
#2
Re: Multicolumn Listbox Widths
Hi,
I think there is no straight way to find out the width of the characters group.
All the string characters will be having the same width in most cases. But symbols like (, ), ., #, $, %, etc. will have different widths. So, you should parse the string find out the length. then only you can find out the width of the text.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|