Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Absolute width of a populated grid?
Message
 
À
03/03/2000 03:11:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00340587
Message ID:
00341121
Vues:
24
I thought that too - logical isn't it. By adding up the colum.widths my total came to 554. I resized the form (with autoresize controls on it) until all columns displayed fully and the width of the grid was then 591.
Through high-calibre mathematics I deduced that the difference equated to approximately 12 for each of my 3 columns with 1 left over. I had to have a long sleep after that one :)
>
>Why 12? I would have just assumed that:
>
>
nWidth = 0
>for each loColumn in This.Columns
>	nWidth = nWidth + loColumn.Width
>endfor
>?nWidth
>would do it.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform