Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetAll with form property
Message
De
10/06/1999 17:44:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
SetAll with form property
Divers
Thread ID:
00228582
Message ID:
00228582
Vues:
31
When I run the following code from the form's Init(),
it works as expected:

thisform.grd_lvl2.SetAll("dynamicbackcolor",;
"IIF(table.field < 100,RGB(255,0,0),RGB(255,255,255))","Column")

However, when I try to check a form property or even a
variable like follows:

xxx = .T.
thisform.grd_lvl2.SetAll("dynamicbackcolor",;
"IIF(xxx=.T.,RGB(255,0,0),RGB(255,255,255))","Column")

I get the following error message:

Expression is Invalid. Use a valid expression
for DYNAMICBACKCOLOR property.

All I want to do is check that the user wants to see the
dynamic backcolor (thisform.turnoncolor = .T.) and the
table.field value is greater than 100.

What am I doing wrong?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform