Skip to content

ApplyVisualTheme - cCJCommandBarSystem

Applies a visual theme

Type: Procedure

Parameters

Parameter Type Description
eTheme Integer The theme to apply
sDll String DLL name
sIni String Ini file name

Syntax

Procedure ApplyVisualTheme Integer eTheme String sDll String sIni

Call Example

Send ApplyVisualTheme eTheme sDll sIni

Description

Applies a visual theme.

Sample

Procedure OnCreateCommandBars
    Forward Send OnCreateCommandBars

 // Send ApplyVisualTheme xtpThemeOffice2013 "Office2016.dll" "Office2016OutlookWhite.ini"
    Send ApplyVisualTheme xtpThemeNativeWindows10 "Windows10.dll" "Windows10Light.ini"
End_Procedure