Implementing Callback Procedures
|
Popularity: (899)
Tags: delphi implementing procedures callback Link: Visit It >> |
Function and Procedure Callbacks are often underused yet the benefits of using them can be tremendous. They can help to limit duplicate code and make your code easier to read and even easier to maintain. A callback is a means of passing a procedure(or function) as a parameter into another procedure so that when a certain event occurs in the procedure that you called, the callback function is called When the callback procedure has completed control is passed back to the original procedure.