User Tools

Site Tools


clearthemevalues.htm
Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > MenuStyleManager Class > MenuStyleManager Methods >====== ClearThemeValues (Clear Theme Values) ====== Previous pageReturn to chapter overviewNext page

ClearThemeValues( )

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()

clearthemevalues.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1