On a Windows platform with VCL , when we want to add a separator to the menu, add TMenuItem with a Caption := '-' ;
With FireMonkey, add TMenuItem with Text := '-' ;
It works as expected on a Windows platform, an element with text = '-' is displayed as a separator.
But when I run the same application on OSX , I have a minus sign visible ...
I did not find any property in TMenuItem to indicate that it is a delimiter ...
I tried with TMainMenu and TMenuBar ( UseOSMenu := True|False; ) and I still have this problem.
Any idea to create a real delimiter? (otherwise I will check the OS and remove it if OSX ...)
delphi separator delphi-xe2 firemonkey menuitem
Whiler
source share