Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetAll and DynamicBackColor problem
Message
De
22/09/2005 13:42:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01052066
Message ID:
01052082
Vues:
11
I was ONLY referring to the "missing" "this" inside the IIF construct:

.SetAll("DynamicBackColor", "IIF(RECNO('vSbvPromoDestinations') = VAL(ALLTRIM(this.Tag)), ;
RGB(255,255,128), RGB(255,255,255))", "Column")


>Nope, I took out the WITH This and explicity put This. in front of everything and it still gave me the message.
>
>Thanks for trying, though.
>
>Dana
>
>>I added some more text to my message, after you read it. When the DynamicBackColor expression is evaluated, it does not see the "With this" since it is not valid anymore.
>>
>>>I would think that it should not be an issue, since the code is within the
>>>
>>>WITH This
>>>...
>>>ENDWITH
>>>
>>> structure, but I'll check that out.
>>>
>>>Dana
>>>>>WITH This
>>>>> .Tag = STR(RECNO('vSbvPromoDestinations'))
>>>>>
>>>>> .SetAll("DynamicBackColor", "IIF(RECNO('vSbvPromoDestinations') = VAL(ALLTRIM(.Tag)), ;
>>>>> RGB(255,255,128), RGB(255,255,255))", "Column")
>>>>>
>>>>> .Refresh()
>>>>>*.colAirportCode.DynamicBackColor = RGB(0,128,255)
>>>>>ENDWITH
>>>>>
>>>>>
>>>>>Please help, it's driving me nuts!
>>>>>
>>>>>Thanks,
>>>>>Dana
>>>>
>>>>My guess is the missing "this"
>>>>WITH This
>>>>	.Tag = STR(RECNO('vSbvPromoDestinations'))
>>>>
>>>>	.SetAll("DynamicBackColor", "IIF(RECNO('vSbvPromoDestinations') = VAL(ALLTRIM(this.Tag)), ;
>>>>		RGB(255,255,128), RGB(255,255,255))", "Column")
>>>>
>>>>	.Refresh()
>>>>*.colAirportCode.DynamicBackColor = RGB(0,128,255)
>>>>ENDWITH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform