Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with grid column sizing.
Message
De
13/12/1999 18:08:42
 
 
À
13/12/1999 09:56:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00302690
Message ID:
00303047
Vues:
20
Hi Brian,

>When adding new columns to a grid they look fine in the designer but when the app is run they are automatically resized and made much smaller. Does anyone know what causes this?

Do you modify the controlsource or anyhting at runtime? Just run through your columns and find out how wide it needs to be with this forumla:

iif(nFieldLength < 3, 20, nFieldLength * 7 + 4)

There are a couple ways to find the length of the field, I think FSize() is one function.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform