Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic forecolor problem - VFP 8.0 grid
Message
 
To
02/06/2003 07:28:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00795076
Message ID:
00795770
Views:
65
Alan,

It looks like this and it is in the dynamicforecolor property of the column

IIF(THIS.VALUE = 'Female', rgb(255,0,0), rgb(0,0,0) )

The column looks like this right now. However all records are appearing in the same color regardless of if they are Male or Female recods.

Male
Female
Female
Female
Male

Thanks.

>Nancy,
>
>What does you're DynamicForeColor code look like, and where is it placed?
>
>Alan
>
>>hello,
>>
>>i have a simple grid on a VFP 8 form. i want the text in one column to appear in blue if the person is a male and red if a female. i am having a devil of a time trying to get it to work. first of all there is no error message, the text simply appears as before. secondly i am using the gridhighlighter object to highlight the row of the grid; could that be causing the dynamicforecolor event to not fire correctly?
>>
>>thnx,
>>
>>nancy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform