Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help for .SetAll in a grid
Message
De
16/08/2002 12:44:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Help for .SetAll in a grid
Divers
Thread ID:
00690429
Message ID:
00690429
Vues:
71
Hi all...
I understand the use of .SetAll in a grid in the event that I need to change the color of a column based on a condition for example I put in Form.Init:
ThisForm.libro1.Page1.Highlighted1.SetAll("DynamicForeColor",;
"IIF(DVALE.Actividad <> '900207', RGB(0,0,0), RGB(0,183,0))", "Column") &&900207 verde
I have A Grid With several columns one is DVALE.Actividad and other is DVALE.Valort. I need to turn green the lines that DVALE.Actividad ="900207" and it works fine. But aditionally I want to change that lines to red if DVALE.Valort < 0 so I put this aditional instruction in the form.Init:
ThisForm.libro1.Page1.Highlighted1.SetAll("DynamicForeColor",;
"IIF(DVALE.Valort >= 0, RGB(0,0,0), RGB(255,0,0))", "Column") &&Valor < = rojo
This way doesn´t work.

Any advice ?
Thanks
Juan Uribe
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform