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
>I am seeking opinions on using a hook for methods like init, load, destroy or using DoDefault(). With a hook I sometimes forget it and put code in the init anyway then I have to go back an move it... Is there any other way to have some code in the init and when you use the subclassed form put in DoDefault() in the init to remind you that there is code up the line in the init?
>
>
>Thanks
Ken B. Matson
GCom2 Solutions