Skip to main content
Table of Contents

TTMSFNCRibbonPage.SetTheme Method

Applies a built-in or custom theme to this ribbon page and its toolbars.

API unit family: TMSFNCRibbon Declaring type: TTMSFNCRibbonPage

Syntax

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

Parameters

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