Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox question
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Listbox question
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01037824
Message ID:
01037824
Vues:
82
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
Rex Toomey
ISD Port Macquarie NSW
Australia

'Inside every older person is a younger person wondering what happened.'
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform