Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid color
Message
De
05/02/1999 14:53:45
 
 
À
05/02/1999 14:51:17
Ian Johnston
Computer Software Solutions
Woodland, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00184473
Message ID:
00184479
Vues:
36
>>>I am trying to color cetain rows of a grid based on the value of a field. Where do I put the code to do this, I have tried changing the dynamicbackcolor property but this is not working.
>>>
>>You may try in to Grid.Init
>>This.SetAll("DynamicBackColor","IIF(mycursor.myfield=1,16777215,0)","Column")
>
>This line of code says gives an error : Invalid value for dynamicbackcolor property. Any ideas why ?
>
>This.SetAll("DynamicBackColor",'iif(sch_route.rte_pavement_type="B",rgb(255,0,0),rgb(255,255,255))',"Column")

This.SetAll("DynamicBackColor","iif(sch_route.rte_pavement_type='B',255,16777215)","Column")
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform