ConfigureClassicPlusComponent function
Syntax
ConfigureClassicPlusComponent(component_name,
market, enable_disable_value)
Description
Use the ConfigureClassicPlusComponent function to apply the classic plus theme to a component.
Parameters
| Parameter | Description |
|---|---|
|
component_name |
Specifies a string value representing the component. |
|
market |
Specifies a string value representing the market associated with the component. |
|
Enable_Disable_value |
Specifies an integer value - 1 to enable classic plus theme; 0 to disable classic plus theme. |
Returns
A Boolean value. True if the classic plus theme is applied successfully to the component; False otherwise.
Example
If ConfigureClassicPlusComponent("USERMAINT_SELF", "GBL", 1) Then
MessageBox(%MsgStyle_OK, "", 0, 0, "Classic Plus is enabled for this component");
Else
MessageBox(%MsgStyle_OK, "", 0, 0, "Error: ConfigureClassicPlusComponent()returned failure");
End-If;
Related Topics