Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Eventbinding to a property
Message
From
04/02/2016 05:44:20
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
04/02/2016 05:21:03
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01630781
Message ID:
01630809
Views:
45
>>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]
Previous
Reply
Map
View

Click here to load this message in the networking platform