FMX Style is a definition of the composition (nested structure) and configuration (property values) of FMX objects (visual or not) that are used as elements (building blocks) of a User Interface (UI).
In this section, we are going to learn about how the whole style mechanism works, how it is used to achieve cross-platform support for visual Delphi applications, and how to manipulate style definitions in the IDE and compiled applications.
This definition is stored in specific components, namely TStyleBook instances, and can be stored in different formats. Most of the time, you will encounter them in either a binary form (compact but requiring an editor) or textual form (bloated but human-readable and editable with a common text editor).
If we have the opportunity to separate what TButton does (have a caption, fire a piece of code when pressed, have a state, and deal with focus) from how it looks (that is, a 3D gray rectangle with black text), we gain the ability...