Forum > Cocoa

MainMenu: How to use the "Quit <App>" item that has been added in trunk?

<< < (6/6)

Hansaplast:
I know, it's an old and seemingly ongoing topic that I ran into again today.


Question for the devs (rich2014?):
Is there a way these steps can be included in the Menu Editor in the Lazarus IDE?

rich2014:
it is specific to Cocoa, so i think it's unlikely.

also, this menu should only have a few items, so implementing it via code configuration wouldn't be difficult.

Hansaplast:
I was already afraid of that - then again, one could see this as a part of TMainMenu? Maybe? 😉


Had to use this last week and did find it rather cumbersome to gather all the pieces (in the forum here) together and write code around TMainMenu limitations. The Wiki page (link) looks outdated.
I wouldn't mind doing an effort to write something for the Wiki page, but I may need some guidance as I'm not quite sure what the "proper" way is on how to use the new method.
To keep designtime "easy" I abuse a TPopupMenu to design the menu pieces.

Navigation

[0] Message Index

[*] Previous page

Go to full version