Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why return .F. from Error Event?
Message
De
25/04/2001 16:45:49
 
 
À
25/04/2001 16:43:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00499843
Message ID:
00499845
Vues:
20
>I was just perusing the Error event code in some of the classes in the My Base Classes Catalog of the VFP Component Gallery. I noticed that if an 'ignore error' property is set, the Error event returns .F.
>
>This got me to wondering if returning .F. from the Error event had an special effect (like maybe triggering ON ERROR or something), but a simple test revealed no obvious behavior associated with returning .F. from the Error event. And searching through the online Help and Hackfox provided no insight.
>
>Do these canned classes simply have some customized way of utilizing an Error event that returns .F. .... or is there some subtle intrinsic behavior associated with returning .F. from the Error event that's just not documented too well?


Nope. Returning .F. prevents focus from leaving the control.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform