Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enabled=MemVar property assignment?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00170122
Message ID:
00170191
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform