Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error with DynamicForeColor in Grid
Message
De
16/02/2003 01:55:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Error with DynamicForeColor in Grid
Divers
Thread ID:
00753833
Message ID:
00753833
Vues:
105
Hi,

I have a container class(sched1) & in this sched1 I have a grid(grid1). In the init() event of the sched1 I have the following code...

This.Grid1.SetAll("DynamicForeColor","IIF(RECNO('Temp')=This.p_RecNo,8388608,0)", "COLUMN")
This.Grid1.SetAll("DynamicBackColor","IIF(RECNO('Temp')=This.p_RecNo,12632256,16777215)", "COLUMN")

p_RecNo is the property which is initialize to 0.

I used this container class(sched1) in a form and ran it. I got error "Expression in invalid. Use a valid expression for DYNAMICFORECOLOR/DYNAMICBACKCOLOR property". Can some tell me why this error happened?

P.S. It works fine, if the code is in the init() of a Form.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform