Skip to main content
Table of Contents

TTMSFNCRibbonDefaultToolBar.SetTheme Method

Applies a built-in or custom theme to this toolbar and its buttons.

API unit family: TMSFNCRibbon Declaring type: TTMSFNCRibbonDefaultToolBar

Syntax

FMX.TMSFNCRibbon.hppPascalC++
procedure SetTheme(ATheme: TTMSFNCRibbonTheme; ACustomThemeColor: TTMSFNCGraphicsColor); virtual;
virtual 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.