Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox width # Columnwidths
Message
 
À
18/06/1999 04:51:01
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00230985
Message ID:
00231661
Vues:
20
>>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
Fil
Voir

Click here to load this message in the networking platform