Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Colors in my grid
Message
 
 
À
23/06/2000 06:26:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00383640
Message ID:
00383711
Vues:
40
>Hi Kelly.
>
>>> I want to set colors in my grid according to certain rows of data that I'm pulling from my table into my cursor with a sql select statement. <<
>
>This statement in the grid's init should do it for you:
>
>This.SetAll( 'DynamicBackColor', ;
> 'IIF( SomeCondition, RGB( 0,255,255 ), RGB( 255, 255, 255 ) )', 'COLUMN' )
>
>>> I guess I could create an extra field in my cursor to bind the check mark too? would this work. <<
>
>Yes.
>
>Marcia

And just a reminder: don't forget to refresh your grid in AfterRowColChange().
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform