Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids
Message
De
15/02/2000 14:51:55
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvanie, États-Unis
 
 
À
15/02/2000 14:17:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Grids
Divers
Thread ID:
00332380
Message ID:
00332412
Vues:
8
Check help for SETALL (Method Example)

frmMyForm.grdGrid1.SetAll("DynamicBackColor", "IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255), RGB(0,255,0))", "Column") && Alternate white and green records

If you change the IIF() condition you can have it highlight those rows that match your criteria. (set the 'other' color to whatever it currently is)

You'll have to do a lot of extra work if you're trying to use the dynamicbackcolor property to indicate the current row pointer. (you'll have to tag the records, and dynamicbackcolor if the record is tagged- and set/unset the tag in the before/after change row - and it might not work right anyway, which is why i gave up on it)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform