| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > MenuStyleManager Class > MenuStyleManager Methods >====== SetThemeColors(Apply colors to menu) ====== | [[settextcolor set menu text color .htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[setverticalgradient set vertical color gradient .htm|{{btn_next_n.gif|Next page}}]] | | || **SetThemeColors **( <;//Theme//> ),VIRTUAL | //Theme// | A STRING that represents the theme colors to apply. If omitted, the theme colors are extracted from the operating system's COLOR:ACTIVECAPTION setting. | {{blk2blue.jpg|blk2blue.jpg}} **SetThemeColors** is a virtual method used to set the menu style theme color to apply to the active menu. If the //Theme// parameter is omitted, the method uses colors determined by the operating systems' COLOR:ACTIVECAPTION theme setting. **Return Value:**     None **Implementation:** The** SetThemeColors **method is usually applied just prior to the ApplyTheme method. **Example:** **  AppFrame{PROP:TabBarVisible}  = False** **  MenuStyleMgr.Init(?MENUBAR1)** **  MenuStyleMgr.SuspendRefresh()** **  MenuStyleMgr.SetThemeColors('XPLunaBlue')** **  MenuStyleMgr.ApplyTheme()** **  MenuStyleMgr.Refresh(TRUE)   ** **See Also: [[applytheme set menu colors and indicators .htm|ApplyTheme(Set Menu Colors and Indicators)]]**