Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox: alignment of columns
Message
De
15/04/2003 15:49:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00777692
Message ID:
00778004
Vues:
11
>Hello,
>
>I tried to set the alignment of columns for listboxes, but without success.
>Maybe there is a way to do this? A row contains the name and amount for example, and the amounts should be aligned to the right.
>
>I want to use Arial font, because in times past I used to do this with Courier and PADL function, but that's not what we would like to do now.
>
>Any ideas? Thanks for your help in advance.

Yuri is correct, you can't do it with proportional fonts. While you can specify individual column widths, there is no mechanism to specify the justification for any column. You must use a fixed width font if you want numbers to line up, and even then it's only if you PADL() the converted numeric value to a string.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform