Show: Object Pascal C++
Display Preferences

Editing a FireMonkey Style

From Appmethod Topics
Jump to: navigation, search

Go Up to Customizing FireMonkey Applications with Styles


To edit a style using the FireMonkey Style Designer

  1. Add a style book component to a multi-device form.
  2. Open the FireMonkey Style Designer by double-clicking the style book.
  3. Click the Load button.
  4. Choose an existing style file and click Open.
    Here is the standard location for FireMonkey styles delivered with the product:
    C:\Program Files (x86)\Embarcadero\Studio\17.0\Redist\styles\Fmx
    For example, you might choose AquaGraphite.
  5. In the Structure View, select a style that you want to edit, and expand its node.
    For example, choose buttonstyle.
  6. Click the element of the style that you want to edit.
    For example, click gloweffect.
  7. In the Object Inspector, edit the properties you want to change.
    For example, you might change the GlowColor to Crimson.
  8. Add new elements to a style by dragging components from the Tool Palette to the style.
    For example, drag a TGlowEffect as the child of the text element of the buttonstyle to add a glow to the button label.
  9. Click Apply and Close.

See Also

Personal tools
In other languages