Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicBackColor invalid expr if the grid has focus else
Message
De
23/05/2008 03:24:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01318705
Message ID:
01319170
Vues:
23
>As someone said, the problem may lie in the fact you're using this in your expression. What this is referring to?

My statement was ambiguous, sorry.
What I meant was that readibility of an IIF()/iCASE() expression inside a property is worse than a multi-line method anyway.
And that additionally the fact that "This" inside a grid.Column.Dynamic* expression refers to the grid, as opposed to the Column, is not extremely obvious.

So I believe it might be safer and easier for the OP to reduce the .Dynamic* expression to something like "goApp.something()" or "This[form].myMethod()".
In that method he could care for availability of object references and might also get rid of any Public/"private" variables.



Regards
-Stefan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform