| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > MenuStyleManager Class > MenuStyleManager Methods >====== ClearThemeValues (Clear Theme Values) ====== | [[areshortcutsleftaligned detect left aligned menu shortcuts .htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[getendcolor get ending gradient color .htm|{{btn_next_n.gif|Next page}}]] | | || **ClearThemeValues( )** {{blk2blue.jpg|blk2blue.jpg}} The **ClearThemeValues** method is used to detect the active theme and set a Menu Style method to automatically match it. **Implementation:** The **ClearThemeValues** method is not used by the **MenuStyleManager** class, but was created to allow the developer to easily remove a Menu Style under program control. This method clears the current style using the **SetStyle** method, and then the MenuStyle **Destroy** method is called, followed by NULL reference assignments to the MenuInterface and MenuStyle. **Example:** **OF **?TurnOffMenuStyles MenuStyleMgr.**TurnOff()**