Changing FMX multi-platform style property at runtime

836 Views Asked by At

In my app I have a design time registered TStyleBook mostly with custom styles for panels (different colors). In this TStyleBook, at design time, I've added an item, assigning the fill color, for several platforms, naming it 'panel_with_custom_color'.

My question is how can I change the fill color for the 'panel_with_custom_color' and with that changing the colors of all the TPanel objects that have the property

StyleLookup: panel_with_custom_color
0

There are 0 best solutions below