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

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Mar 11 17:39:28 CET 2015


Add @ to procedure names:

   MyItem.OnClick:=@MyPopUp;
   MySubItem1.OnClick:=@MyPopUp;


-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list