Boolean (Input)

This object functions like a classic checkbox. If the value is set, it means 1, otherwise 2. 0 = false (disabled), >1 = true (enabled)

Attributes

AID
Attribute
Description
Object Id

Unique identifier of the object. This must be unique within the object pool (2 bytes, 0-65534).

Type

The type of the object.

Background Colour

Background colour. A colour based on the index of the Colour Palette.

Width

Width of the object in pixels.

Foreground Colour

Foreground colour used during drawing when options bit 1 is set to 0.

Variable Reference

Reference to a Variable object from which the value is taken.

Value (Integer)

0 = false (disabled), non-zero = true (enabled). Ignored if a variable reference is set.

Enabled

Current state of the object.

0 = Disabled
1 = Enabled

Number of Macros to follow

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.