Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Programmatically
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00293493
Message ID:
00293593
Vues:
24
Hi Alan,

>What is the formula to calculate the proper width of each column?

Here's what I use:

size = iif(FieldSize < 3, 20, FieldSize * 7 + 4)

I use AFields, so the third element is what I use for FieldSize, but you may want:

size = iif(fsize(field(lnI)) < 3, 20, fsize(field(lnI)) * 7 + 4)

This Help?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform