Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid fonts color
Message
 
 
À
05/02/2004 05:00:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00873284
Message ID:
00874458
Vues:
27
Chaim,

> .SetAll( "DynamicForecolor", "thisform.RowColor()", "column" )

This line will set all columns of the grid, it doesn't matter how many columns the grid contains.

> case ...
> lnColor = rgb( 255, 0, 0 )

You have to fill in the ... with whatever conditions you have that define each of the colors you are wanting to use. You use whatever the column name is that contains the values like 'aaa' etc. I don't use the _genxtab function enough to know what column names it creates out of the process. You can use afields() to find the column names of the cursor.


>Here is the problem:
>The genxtab column count can be 4, can be 8 and can be 5 etc, and every time with diffrent header names.
>How do I speak with grid values?
>What need I write in the cases?
>
case ? = 'aaa'    &&?- grid value
>this?=(rgb)250,250,11  &&?-grid header name
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform