Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How much of your code do you test?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00721300
Message ID:
00722283
Views:
26
>>>Good idea, George. It might be even easier to implement this idea in VFP 8 using BINDEVENT() function. Instead of creating separate _Assign methods one can bind the necessary properties to one custom check method, that fires whenever any bound property is changed and will validate all the properties.
>>
>>Nick,
>>How do you go about binding properties? I would think you would still need an _ASSIGN for each property and then bind each _ASSIGN method to one custom check method. I'm not sure, in my mind, if this buys you anything other than adding a level of complexity (i.e. another method call).
>
>Hi Larry,
>
>No, if the property is bound to the method/event, VFP 8 does the implicit _ASSIGN for the property. Here is the sample similar to what I showed at my VFP 8 presentation in Chicago:
>

Thanks, Nick. I hadn't seen that aspect of Bindevent().
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform