Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid ledger properties
Message
De
30/11/2001 09:21:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
30/11/2001 09:06:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00587942
Message ID:
00587957
Vues:
22
>What determines if a grid is of the "ledger style" I looked through the grids properties and didn't see anything apparent. I want to be able to set the grid to ledger style at runtime and therefore can not use the builder.
>
>Thanks

See DynamicBackColor.
Usually a ledeger grid uses an expression similar to :

iif(recno()%2=0,rgb(255,0,255),rgb(255,255,0))

mygrid.Setall('DynamicBackColor',;
iif(recno()%2=0,rgb(255,0,255),rgb(255,255,0)),'Column')

It works for nonordered grids
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform