Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox question
Message
De
02/08/2005 09:56:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01037824
Message ID:
01037829
Vues:
23
Have you thought about using a fixed width font?

>Hello All,
>
>I would like to know if there is a better way than my existing code to right align one column in a listbox containing 7 columns:
>
>
>.aEventData[nEventCount,4] = SPACE((15 - TXTWIDTH(cData,'Arial',8)) / .6) + cData
>
>
>The results from the above line of code gives a reasonable result but often times the right alignment can be a bit crooked.
>
>I know that a Grid would also do this with its listbox-like properties however, the listbox is easier to manage for this particular exercise.
>
>Any thoughts or suggestions would be most gratefully received.
>
>Rex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform