[Lazarus] Add a MenuItem to a menu dynamically -> OnClick: wrong number parameters

Binho Biatheski rogerbip at gmail.com
Wed Mar 11 17:45:54 CET 2015


Thank you !!!

2015-03-11 13:39 GMT-03:00 Felipe Monteiro de Carvalho <
felipemonteiro.carvalho at gmail.com>:

> Add @ to procedure names:
>
>    MyItem.OnClick:=@MyPopUp;
>    MySubItem1.OnClick:=@MyPopUp;
>
>
> --
> Felipe Monteiro de Carvalho
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Binho
http://www.biatheski.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150311/9d3bbf0b/attachment-0003.html>


More information about the Lazarus mailing list