Besides the concept of actions, which are implementations of the command pattern, Delphi also contains a well—integrated implementation of an observer pattern in the form of the LiveBindings mechanism.
LiveBindings, which is partially implemented in the IDE and partially in the runtime library, helps create applications without any line of code. Of course, that is only the best—case scenario and in almost any useful application you will have to write some code.
The LiveBindings mechanism is very powerful and quite complicated, so I cannot do it any real honor on these few pages. I will therefore present just a short recipe, which will show ...