>>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement