[Lazarus] Teaching Pascal at College
juergen.hestermann at gmx.de
Mon Oct 24 12:39:12 CEST 2016
Am 2016-10-24 um 11:57 schrieb Michael Schnell via Lazarus:
> On 21.10.2016 09:51, Lars via Lazarus wrote:
>> The concept of callbacks is very similar to events.
> The difference is that with a callback you usually know both sides and hence how exactly it is called,
> while with an event (especially when fired by the LCL on behalf of something that happens in the GUI, aka RAD)
> you don't need to know exactly how and why it is fired, you just place your user code in it and are happy (at least if you are not a nerd like myself).
You cannot "be happy" if you don't know exactly when an event is fired.
It is of course important to know that.
Otherwise you only assume something (that must not be true).
The discussions about events fired by the user but not
when changes are done by code showed this clearly.
More information about the Lazarus