Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Re: Grid
Divers
Thread ID:
00451196
Message ID:
00451215
Vues:
16
>Hi Everyone:
> I am working with the grid and I want to gray out a selected row in the grid when the user clicks on that row.
>
>For Example:
>ThisForm.Grid2.SetAll("dynamicforecolor", ;
> "IIF(!Ctemp.colactive, RGB(192,192,192), RGB(0,0,0))", "Column")
>
>This grayed out the entire grid, instead of graying out the selected row.
>
>Thanks very much
>MA


Look at the various active row coloring grid classes in the files section
The idea is that you store the record number of the row you are on, and that you use recno()=TheRecnoOfTheCurrentLine in the IIF statement
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform