I am reading documentation for menus in Firemonkey desktop applications . It explains that there are two completely different menu components, one of which should be used for Windows ( TMenuBar), and the other for OS-X ( TMainMenu).
In addition, it also explains what TMenuBardoes not appear on OS-X (non-standard for OS-X) and what TMainMenufits in the non-client area of ββa Windows form (non-standard for Windows)
I understand that Firemonkey should be the same code base for multiple platforms, but it seems like they want me to share them. I can understand that the menu works differently on both platforms, but it seems like an unnecessary pain is to implement two different main menus (and conditionally show / hide them depending on the platform). I am not going to use the special menu features specific to any platform. Not to mention what TMenuBaris absolutely ugly.
Since it TMainMenualso appears on Windows, but also claims to be "non-standard for Windows," can I assume that is TMainMenuenough for both? Or do I really need to implement a separate TMenuBarWindows only? What are the consequences if I do not share them?
I saw this video , but it is for Delphi XE2, and I canβt find such a parameter in the Delphi XE8 control TMenuBar. And again, it is TMenuBarvery ugly and does not work like regular menus, as it does TMainMenu. I am confused why they would advise using this one TMenuBarat all.
source
share