Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindEvent and NoDodefault equivalent
Message
De
06/02/2010 12:43:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01447903
Message ID:
01447923
Vues:
61
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform