Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DoDefault() or Hooks?
Message
De
11/08/1999 18:55:26
 
 
À
11/08/1999 09:01:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00252400
Message ID:
00252779
Vues:
12
Ken,

Thanks for some things to ponder about... BTW, how do you "Kill" the method if you return a .F.?

Thanks

>John,
>
>I have hooks everywhere in my framework. I love 'em. I do agree with Jim B. in that I ALWAYS do a DdDefault() whenever I write code in a VFP base method.
>
>The key to hooks is consistent naming and placement. for example - most of my pertinent methods/events have PreMethod and PostMethod hooks. PreMethod hooks can always "kill" the method/event if they return .F.. On occasion, I will also have specific named hooks for special needs. I always make sure to name them SomthingHook().
>
>Ken
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform