Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Eventbinding to a property
Message
De
04/02/2016 05:44:20
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
04/02/2016 05:21:03
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:
01630809
Vues:
38
>>Hi Fernando,
>>
>>Question is:
>>
>>to what value?
>>
>
>Hi Lutz:
>
>I've answered this on bottom of my message:
>
>"In the case that you want to be notified about not just the change, but the value itself, then you need to use the "assign" event and bind to it, so you can get the "value" passed by parameter."
>
>So you need to create an assign event for yuor property then BindEvent the Assign event.

I see.
The problem is that I need to have the _ASSIGN for the source. This is a change I like to avoid. If I alter the code, then I can do it without BINDEVENT. :)
(the delegate object is in a hook, the sources class should not be touched)
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
Répondre
Fil
Voir

Click here to load this message in the networking platform