Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic forecolor problem - VFP 8.0 grid
Message
 
À
02/06/2003 07:28:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00795076
Message ID:
00795770
Vues:
61
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform