Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindEvent and NoDodefault equivalent
Message
From
06/02/2010 12:43:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01447903
Message ID:
01447923
Views:
60
Borislov --

Thanks for the response.

Unfortunately, I asked for the wrong question (!). I'll re-phrase and re-issue in a new thread (after I think thru what I'm really looking for)

Thanks

>>I have been using BindEvent and have been wondering if it is possible in the case where the Flags argument is 0 (Call delegate code before event code) that my delegate code could cause the normal event code to be skipped.
>>
>>That is -- I am wondering if in my delegate code I can have some validation indicating whether I want to allow the real event to occur.
>>
>>Thanks
>
>
>NOT TESTED!
>
>Put a property in the Form/Class named bFireNormalEvent and set it to .t.
>Then in your Delegate event you could set it to .t. if you want normal event code to be executed and .f. if you do not want this.
>In normal event code:
>
>IF this[form].bFireNormalEvent
>   * the code for the normal event goes here
>ENDIF
>
Jim Nelson
Newbury Park, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform