Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Row Display Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00112315
Message ID:
00112362
Vues:
31
Thanks David,

I rediscovered the first part earlier... I appreciate the code snippet and will incorporate it into that and similar sections. :-)

>Ashley,
>
>Items created with AddObject have .Visible set .F. so you can finish setting properties likt .Top and .Left before you make it visible.
>
>Here's a little optimization of your code you might want to look at:
>
>
for x = 1 to this.grdPatCells.ColumnCount
>   loCol = this.grdPatCella.Columns[x]
>   with loCol
>      .Width = 40
>      .Header1.Caption=field(x)
>      ...
>   endwith
>endfor
>if you have VFP5 it can be simplified even more
>
>
foreach loCol in this.grdPatCells.Columns
>   with loCol
>      .Width = 40
>      .Header1.Caption=field(x)
>      ...
>   endwith
>endfor
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform