Jump to content

UnimMenu and UnimItems


Recommended Posts

It would be possible to create the items of a unimMenu, at run time, 
I am doing the following. 

Var
     ItemMenu : TUnimMenuItem;
begin
  ItemMenu:=TUnimMenuItem.Create(nil);
  ItemMenu.Caption:='HOLA';
  ItemMenu.MenuId:=0;

 unimMenu4.Items.Add(ItemMenu);

Error: [dcc32 Error] Mainm.pas(773): E2034 Too many actual parameters

 

Thanks

 

 

Link to comment
Share on other sites

×
×
  • Create New...