Walter Meester
HoogkarspelNetherlands
Kevin,
A hook is an empty routine (method or function) which can be overruled (with code in it) in a class or subprogram.
For example if you make a basic formclass you might provide a BEFORESAVE method, which is called in the SAVERECORD method of your class. At default there is no code in it.
But when you create a form based on this class or subclass it, you might want to add some code to the BEFORESAVE method. Such an empty method is called a HOOK. It's not difficult to see the paralells between events and hooks.
Walter,
>I may be being completely dumb here, but can someone explain to me what a HOOK actually is?
>
>Thanks very much
>Kev
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only