ClearThemeValues (Clear Theme Values)

Top  Previous  Next

 

ClearThemeValues( )

 


 

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