Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting listbox from a cursor
Message
De
17/01/1999 15:34:18
Bly Beach
Discovery Unlimited, Inc.
Arnoldsville, Georgie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00177002
Message ID:
00177014
Vues:
40
>>I have a list box with four columns. The rowsource is a cursor which has been created at runtime by an SQL. The formatting is fine in columns containing text or a numeric value from a table; however, one column is calculated (value-another value + another value) as total.
>>This column keeps centering itself making it very awkward to read.
>>Any ideas how to make it aligh right?
>
>Have you though of switching to a grid? You can make it look like a list control, it is more efficient and you can control the widths of columns.
>
>To control the widths of columns in a list... put the values in the ColumnWidths property in the following form 100,50,72


Thanks for the suggestion, but in this case a grid isn't an option. I have the columns adjusted just fine -- the problem is why a calculated field in a cursor would be displayed as centered.

Bly
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform