Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement