Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid goes blank
Message
De
12/05/2005 18:53:34
 
 
À
12/05/2005 05:49:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01013064
Message ID:
01013659
Vues:
15
thanks for the syntax here...

much nicer to read.



>PMFJI but
>
>I agree totally with this approach. But as there are often so many "sub-properties" of each column to set, I'd make it more readable (and more efficient) by:
>
>
>with thisform.grid1.
>   recordsource        = 'tablename'
>   With Columns(1)
>     .FontBold         = .T.   && example of extra prop might want to set
>     .controlsource    = 'fieldname'
>     .width            = 80
>     .header1.caption  = 'Customer'
>     .Header1.FontBold = .T.   && e.g. again
>     .Text1.Visible    = .T.   && Need to make objects visible too, I think.
>   EndWith
>
>   With Columns(2)
>     ... etc.
>   EndWith
>
>   .refresh()
>endwith
>
>
>Cheers
>
>Terry
Thanks,

Stacy



Black Mountain Software, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform