Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid fonts color
Message
 
 
To
05/02/2004 05:00:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00873284
Message ID:
00874458
Views:
29
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform