Skip to main content
Table of Contents

TTMSFNCCustomRibbon.SetTheme Method

Applies a built-in or custom theme to the ribbon and all child controls.

API unit family: TMSFNCRibbon Declaring type: TTMSFNCCustomRibbon

Syntax

FMX.TMSFNCRibbon.hppPascalC++
procedure SetTheme(ATheme: TTMSFNCRibbonTheme; ACustomThemeColor: TTMSFNCGraphicsColor); overload; virtual;
virtual void __fastcall SetTheme(TTMSFNCRibbonTheme ATheme, Fmx::Tmsfncgraphicstypes::TTMSFNCGraphicsColor ACustomThemeColor)/* overload */;

Parameters

Name Description
ATheme The theme to apply.
ACustomThemeColor Accent color used when ATheme is rbtCustom.