Using StyledSettings in your FM applications

Posted by on in Blogs
In FireMonkey applications, we preset certain properties for each component via the style.

If you want to change the font color, font size etc. at design time for a control such as TButton, you need to select StyledSettings in the Object Inspector and uncheck any of the StyledSettings that you want to manually override.
This allows you to go to the Font property in the Object Inspector and change the font style, size etc. without using the presets applied via the style.







For more information, see: http://docwiki.embarcadero.com/Libraries/XE5/en/FMX.Graphics.ITextSettings.StyledSettings

Upgrade to XE5 from any earlier version and get up to 45% off now. Buy RAD Studio, Delphi or C++Builder version XE5 at the low upgrade price if you have any earlier version of Delphi, C++Builder, RAD Studio or Borland Developer Studio. You will save up to 45% off the new user price and enjoy the full power of Delphi for Android and iOS 7 (in Delphi and RAD Studio). Available only between October 22, 2013 and December 31, 2013.


About
Gold User, Rank: 5, Points: 558
Senior Product Manager, RAD Studio

Comments

  • Guest
    MArk Bracey Thursday, 26 December 2013

    It would be great to have something describing how to make a Mobile Style from scratch. I've tried doing it and it is not intuitively obvious, especially how to make the various style 'types' in the Style Designer.

  • Please login first in order for you to submit comments
  • Page :
  • 1

Check out more tips and tricks in this development video: