CTRLVAL()

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 CMM2

Syntax:
CTRLVAL(#ref) = value

Description:
This command will set the value of an advanced control.
'#ref' is the control's reference number.
For off/on controls like check boxes it will override any touch input and can be used to depress/release switches, tick/untick check boxes, etc. 
A value of zero is off or unchecked and non zero will turn the control on. For a LED it will cause the LED to be illuminated or turned off. 
It can also be used to set the initial value of spin boxes, text boxes, etc.

For example:
CTRLVAL(#10) = 12.4

 

Last edited: 06 October, 2020