Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enabled=MemVar property assignment?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00170122
Message ID:
00170191
Vues:
14
Hi Michael,

>Well, it works when the form is initialized, but when I change the memvar from false to true, a Refresh() doesn't seem to work. It seems that the enabled property is not re-calculated when the objects are refreshed.

You can add a property lEnabled and assign it an expression, like a variable name. In the Refresh method of your base class you could use code like this:
   If not Empty(This.lEnabled)
      This.Enabled = Evaluate(This.lEnabled)
   Endif
Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform