Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid header not displaying
Message
De
10/10/2001 19:25:05
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00566594
Message ID:
00566721
Vues:
14
>>I think Dragan is referring to programmatically calculating an appropriate value for the column's width and then setting it to the new value like so:
>
>"Thisform.Grid1.Columns(1).Width = nSomeValue"
>yes that did it, Not sure why I had to do this though.


Fox is taking its best guess at what the contents of the column will be, based on the first record available when the grid is built. If you're having a calculated value there, you get what VFP thinks is enough. You may help it with surrounding the expression for the controlsource of 6th column with padr(expression, nn) where nn is any number you find sufficient. Whenever Fox needs to measure the width of something, preformatting helps.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform