Hello,
I want to use TMSFMXNativeNSToolbar like a settings window in Xcode.
I have set the BorderIcons biMinimize property in the Object Inspector to false for the form.
Now the TMSFMXNativeNSToolbar in the running program is not shown.
TMS mCL v1.0.2.0
Embarcadero ® Delphi ® Version XE5 19.0.13856.4978
OS X 10.9 (13A603)
Hi,
Setting the bordericons will reset the toolbar, you can place this in the formshow to set the toolbar again, and add the units: FMX.Platform.Mac and MacApi.AppKit
var
h: TMacWindowHandle;
begin
h := WindowHandleToPlatform(self.Handle);
h.Wnd.setToolbar(Macapi.AppKit.NSToolbar(TMSFMXNativeNSToolbar1.ToolBar));
Kind Regards,
Pieter
Thanks for the reply, it works.