On 31.01.2014 23:30, Alejandro Gonzalo wrote: > Is there also a way of setting an event such as OnEnter for Sender or a > Component in a loop (if the Event is defined in code and not with the > Object Inspector)? Yes, take a look here: http://freepascal.org/docs-html/rtl/typinfo/setmethodprop.html Regards, Sven