[Lazarus] Delphi incompatibility - hard cast

Sven Barth pascaldragon at googlemail.com
Sat Feb 1 10:39:17 CET 2014


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





More information about the Lazarus mailing list