Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Row Display Problem
Message
From
28/06/1998 21:18:30
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00112315
Message ID:
00112362
Views:
32
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
>
Previous
Reply
Map
View

Click here to load this message in the networking platform