>>When creating a listbox, I set the columnwidths property to 0,0,50,50,50,50. The width of the the listbox is 230, but the end of the last column does not fit. I allowed 20 for the scrollbar. Do I need to add 1 for each column also? That still wouldn't account for the overrun. Is there something else I'm missing?
>>
>>Thanks,
>>marcus.
>
>As a guess, is the listbox using a proportianal font? Try it again with Courier.
Thanks Mark,
No it is using Arial. I did some more tests, and figured I needed to add 3 pixels for each column separation. So 6 columns would be 5 separations and require an addition 15 pixels.
Thanks again,
Marcus.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only