Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change grid row forecolor to red/different
Message
 
 
À
13/03/2019 12:49:46
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01667199
Message ID:
01667202
Vues:
65
>>Hi,
>>
>>Something tells me that this question has been asked before, many times. But I don't remember the answer.
>>
>>I have a grid. And I want - dynamically - when a value of a record field changes, to change the entire row columns ForeColor to Red (or something different) so it stands out.
>>
>>For example, say the grid is bound to a cursor V_MATER and one of the fields is DEL_ITEM (default .F.). When the value of this field changes to .T., I want all columns to change the ForeColor to Red.
>
>In grid.init()
>
this.setall("dynamicforecolor", "iif(v_mater.del_item, 255,0)", "column")
Thank you!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform