This object formats, displays and changes a numeric value based on an integer value. The equation for the displayed value is: Displayed value = (Value attribute + Offset) × Scale factor
The displayed values are truncated or rounded depending on the “Options” attribute. The VT should use double precision to minimise rounding errors. When the operator presses the “Enter” key, the new value is only accepted if it is within the scaled min/max range. Otherwise the input object remains open. If the value is valid, the Value attribute is set according to the equation: Value attribute = (new value / Scale factor) − Offset
The Working Set can change values by pool upload or the “Change Numeric Value” command.
Unique identifier of the object. This must be unique within the object pool (2 bytes, 0-65534).
The type of the object.
Width of the object in pixels.
Height of the object in pixels.
Background colour. A colour based on the index of the Colour Palette.
Object Id of a Font Attributes object for display formatting of this field.
Logical bits indicating options. 1 = TRUE.
Reference to a Variable object from which the value is taken.
Raw minimum value for the input before scaling. Offset and scale must be applied to determine the actual minimum value.
Raw maximum value for the input. Offset and scale must be applied to determine the actual maximum value.
Offset applied to the value. Displayed value = (Value attribute + Offset) × Scale factor.
Scale to be applied to the input value as well as to the min/max values.
Specifies the number of decimal places to be displayed after the decimal point.
0 = Display in fixed decimal format (####.nn)
1 = Use of exponential format ([-]###.nnE[+/-]## where n is specified by the
Number of decimals attribute).
Horizontal/vertical alignment of the content.
Current integer value of the object if no variable reference is used.
Logical bits indicating options.
1 = TRUE.
Bit 0 = Enabled. If TRUE, the object is enabled. If FALSE, the object is disabled.
Bit 1 = Real-time editing. (VT Version 4 and later) If TRUE, the value is transmitted to the Working Set Master while it is being changed (see real-time in section 4.2).
Number of contained macro references, even if it is zero.
Each macro reference consists of 2 bytes: one for the event Id and one for the macro Id.
When the specified event occurs, the associated macro is executed. VT version 5 and later: A reference to a macro with a 16-bit Object Id counts as 2 macro references in the context of this attribute.