Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dumb question
Message
From
21/07/2000 08:29:55
Walter Meester
HoogkarspelNetherlands
 
 
To
21/07/2000 08:02:10
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00395314
Message ID:
00395331
Views:
12
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
Map
View

Click here to load this message in the networking platform