Allows you to find out and modify the activation of UMC management (User Macro-Code).
Syntax
Finding out whether the UMC management is enabled Hide the details
<Result> = UMCActive()
<Result>: Boolean
- True if the UMC is enabled,
- False otherwise.
Modifying the management mode of UMC Hide the details
<Result> = UMCActive(<Enable>)
<Result>: Boolean
- True if the UMC is enabled,
- False otherwise.
<Enable>: Boolean
- True to enable the UMC,
- False otherwise.
Remarks
The effects of UMCActive depend on the UMC configuration in the project and windows.
| | | | | | |
| UMC allowed in the project | UMC not allowed in the project |
UMCActive function not used | UMCActive(True) | UMCActive(False) | UMCActive function not used | UMCActive(True) | UMCActive(False) |
UMC allowed in the window | UMC possible | UMC possible | UMC not possible | UMC not possible | UMC possible | UMC not possible |
UMC not allowed in the window | UMC not possible | UMC not possible | UMC not possible | UMC not possible | UMC not possible | UMC not possible |