O'Reilly logo

Expert Delphi by Paweł Głowacki

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing styles

FireMonkey styling gives us a lot of flexibility. We can use built-in styles. Within a built-in style there could be multiple style definitions for a given control. There is also the possibility of using a custom style. But what if we want to apply a really special look to our styled control? We can go one step further and customize built-in or custom styles.

Remove custom resources and a call to load the style from the project's source.

On our test form there are three TArcDial components. If we right-click on any styled control at the bottom of the context menu there will be two options, one to edit custom styles and one to edit the default style. Refer to the following screenshot:

Options in the context menu of a control ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required