Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right Justify in a listbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00153254
Message ID:
00153699
Vues:
20
>Hi Marcus....
>
>Create a form, add a listbox, and finally, add this code to the init() of the listbox:
>
>for x = 1 to 100
> this.additem(padl(x,10))
>next x
>
>This should get you started...

Thanks John,

This bit of code actually illustrates my problem perfectly. Especially if you change 'x= 1 to 100' to 'x=1.00 to 100'. Notice how the decimal in 9.00 does not line up with 10.00 which doesn't line up with 100.00. I realize this would work with a fixed width font, but that isn't an option. Thanks for the feedback.

Marcus.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform