Dear Lazaristi,

I want to localize the captions of the standard menuitems in my program created 
with lazarus, i.e. the items "Services", "Hide myApp", "Hide Others", "Show 
All" and "Quit myApp". The problem is that i cannot get hold of these items. I 
also tried to find out how this is done in Lazarus, but failed, too.

Maybe not related, but for the sake of completeness: What worked is to add 
extra items (i.e. an about and a preferences submenu) in the application menu 
including subsequent translation of the captions.

I also tried to get acces via NSApp.mainMenu, but that gives an acces violation 
because NSApp is zero. I expected that this is already allocated and set, but 
it does not to be the case. Any help how to get access to these submenus or 
hints how this is done in the Lazarus IDE?

Thanks in advance.

Michael Schindler
___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to