Print Page | Close Window

FM premium style

Printed From: TMS Software
Category: FMX Components
Forum Name: FMX mCL
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=3667
Printed Date: 19 Aug 2019 at 1:33am


Topic: FM premium style
Posted By: Ingeborg Bauer
Subject: FM premium style
Date Posted: 23 Apr 2014 at 5:03am
Hi support,

when using the the Sterling.style from the XE6 premium styles:
http://cc.embarcadero.com/Item/29808

the TMSFMXNativeNSToolbar is painted in black.
Any idea why?

Ronald




Replies:
Posted By: Pieter Scheldeman
Date Posted: 23 Apr 2014 at 6:20am
Dear Mr. Bauer, 

Can you perhaps send us a sample that demonstrates this?

Kind Regards, 
Pieter 


Posted By: Ingeborg Bauer
Date Posted: 23 Apr 2014 at 11:45am
Hi Pieter,

it's easy to show this.
Place a TMSFMXNativeNSToolbar on an empty FMX HD TForm.
Add a TStyleBook, load one of the premium Styles.
Assign Forrm StyleBook to the new Stylebook.
Run the project.

The Toolbar will be display in black.

Ronald



Posted By: Pieter Scheldeman
Date Posted: 24 Apr 2014 at 3:31am
Hi,

We are able to reproduce this here, but we will unfortunately not be able to provide a workaround for this, as the style is applied to the border of the Window but does not take a native Toolbar into account. This technique is applied when the style manager detects a style object for the window border. Other styles which do not have an alternative Window border do not have this issue. This issue can only be fixed on FireMonkey level.

Kind Regards, 
Pieter



Print Page | Close Window