IsClassicPlusMode function
Syntax
IsClassicPlusMode(COMPONENT_NAME, MARKET)
Description
Use the IsClassicPlusMode function to return a Boolean value indicating whether the classic plus theme is enabled or disabled at the system level and at the component level.
Parameters
| Parameter | Description |
|---|---|
|
COMPONENT_NAME |
Specifies a string value representing the component. |
|
MARKET |
Specifies a string value representing the market associated with the component. |
Returns
A Boolean value.
True if the classic plus theme is enabled at the system level and on the specified component.
False if the classic plus theme is disabled at the system level or on the component.
Example
If IsClassicPlusMode(%Component, %Market) Then
MessageBox(%MsgStyle_OK, "", 0, 0, "This system is classic plus enabled.");
Else
MessageBox(%MsgStyle_OK, "", 0, 0, "This system is not classic plus enabled.");
End-If;