Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Eventbinding to a property
Message
De
04/02/2016 05:15:00
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
04/02/2016 04:55:24
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01630781
Message ID:
01630804
Vues:
37
>>>Should be faster. It doesn't involve the whole expression evaluator, this is just the simper "get me a property value" mechanism.
>>
>>Then the rules from above do not change. Simpler in otherpropuser. Thanks for the hint.
>
>Well I'm not quite clear on what the rules are, but at least this way you can bind multiple properties to the same method, and the method would know the name and value of the property which changed. If you need something else, then I solved the problem you didn't have :).

Oh, my problem is that I have method that needs the value from a property. What property is not fixed. The method is used independend of the change of the property. I have more changes then uses. And I have more time on the use then on the change, for that. That defines the rules - as less calls to EVAL or GETPEM as possible.

You helped with the solution - by bringing up GETPEM. :)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform