Delphi Firemonkey Styles

Customize your multi-device applications with ten premium FireMonkey styles. Choose from Jet, Sterling, Diamond, Emerald Crystal, Emerald Dark, Coral Crystal, Coral Dark, Vapor, Copper and Radiant styles, optimized for iOS, Android, Windows and Mac application development.

There are a number of ways to store and access styles. In this section I shall look at each in turn, and in order of preference. System Styles System styles are those designed to look like a given operating system. They are stored as resources in your final application and are not (easily) available for browsing and editing.

Unless they are overridden then the appropriate style for the current platform will be selected from the list below. Resource Name Platform win7style Windows 7 win8style Windows 8 lionstyle OS X lion2xstyle OS X with retina display ipadstyle iPad prior to iOS7 iphonestyle iPhone other than version 6 (XE4) or prior to iOS7 iphonestyle_6 iPhone 6 (XE4 only) iphonepadstyle_Modern iOS7 androidstyle Android (You can see the names of the system styles for the current platform in the source of GetSystemStyle in the unit FMX.Controls. The system style can be accessed via the SystemStyle or SystemStyleHiRes properties of which return the style appropriate for the platform. These properties are read only and their value is determined by FireMonkey. ActiveStyle The currently active style is stored in another pair of properties of, ActiveStyle and ActiveStyleHiRes. By default these will be the same as the SystemStyle/SystemStyleHiRes properties but they can be modified by calling TStyleManager.SetStyleFromFile or TStyleManager.SetStyleFromFileHiRes and passing in the name of a style file.

Argus enterprise user manual. Price per unit: Total price: Price is excluding VAT!

Alternatively, you can use one of the LoadXXXX methods of TStyleManager and assign the result to ActiveStyle or ActiveStyleHiRes. Setting the active style will set the style for the entire application (unless you use one of the methods below to override it for a specific form or forms). This is the preferred method to use to modify the look of an entire application. These methods should be called from your project (dpr) file before Application.Initialize is called, or from the initialization section of a unit. If called later, e.g from a forms OnCreate event handler, you may find that the app is initialized with the default style and then updated with your new style. You can view the project file with the Project/View Source menu item in Delphi. Here is a sample loading a custom style.

Delphi

If you are a network license user, click to download this submission.