Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BINDEVENT and return values
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01082514
Message ID:
01082555
Views:
9
Rick,

There's no flag in BINDEVENT() that will prevent the source event from firing or code in the source method from executing. The flag 2 (and 3) means that the delegate will not be triggered if the source method/event has been called programmatically. The delegate'll be called if the event has been triggered interactivelly or with RAISEEVENT().

>That makes sense actually. The other problem is that if the event setting is set to 2 or 3 the delegate is not fired at all...

>
>>
>>As of VFP9 the return values of the delegate methods are ignored. See http://blogs.msdn.com/calvin_hsia/archive/2005/11/03/488939.aspx
>>BTW, the help topic for BINDEVENT() after SP1 update doesn't mention delegate's return values anymore.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform