Print Page | Close Window

Using TMSFMXNativeNSToolbar is not working in wind

Printed From: TMS Software
Category: FMX Components
Forum Name: FMX mCL
Forum Discription:
Printed Date: 20 Feb 2020 at 5:38am

Topic: Using TMSFMXNativeNSToolbar is not working in wind
Posted By: Gei├čler Frank
Subject: Using TMSFMXNativeNSToolbar is not working in wind
Date Posted: 01 Nov 2013 at 3:43pm


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)

Posted By: Pieter Scheldeman
Date Posted: 04 Nov 2013 at 7:59am

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

  h: TMacWindowHandle;
  h := WindowHandleToPlatform(self.Handle);

Kind Regards, 

Posted By: Gei├čler Frank
Date Posted: 05 Nov 2013 at 2:50pm
Thanks for the reply, it works.

Print Page | Close Window