Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid and colors
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00669612
Message ID:
00669614
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
Check out DynamicBackColor property of the column. If you want the same backcolor in all columns, you could put something like this in the refresh of the grid:
This.SetAll( "DynamicBackColor", "iif(table1.somefield=somevalue,rgb(0,192,192),rgb(0,255,255)","Column" )
HTH
Jaime

>Hi
>
>Imagine :
>I have a table1 only with 2 records .
>I have a grid1 , recordsource = table1 .
>
>So , grid1 , have two records . One record have the focus in moment .
>The record , that not have the focus , have the same color , that rows that haven´t any information .
>Imagine , in grid1 :
>row1 ( record1) - is gray
>row2 ( record2) - is blue ( because has the focus )
>row3 - no data - is gray
>
>How can i , make row3 ( no data ) have other color , and not the same color row1 ?
>
>Thanks
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform