Hi,
I've created a descendant class of TTMSFMXPopup.
There not much going on there, but I want to set a number properties to my default values.
Colors and fonts are amoung them.
I managed to change the bordercolor by overriding the ApplyStyle method.
My questions are as follows:
* Is this the best way to change the bordercolors ?
* How can I change the color of the buttons ?
* How can I change the fonts (buttons and header) ?
TIA
procedure TAPopup.ApplyStyle;
var
obj: TFMXObject;
begin
obj := FindStyleResource('popupcontainer');
if Assigned(obj) then
begin
TTMSFMXPopupShape(obj).Fill.Color := ARBOIS_DARK_BLUE;
TTMSFMXPopupShape(obj).Fill.Kind := TBrushKind.Solid;
end;
inherited;
end;