473
OPUS Projektor Manual
Object Reference
The width of the digital value box inside the gauge can be modified. The reference value
(which equals a factor of 1) is the radius of the gauge object.
Default value: 0.3
Possible values: 0.0 ... 2.0
Events
The following events can be configured for the gauge object:
·
OnOpenForInput
·
OnEnabledWithFocus
·
OnEnabledWithoutFocus
·
OnValueChange
·
OnEnterValue
·
OnEnterNewValue
·
OnEscape
See here for the descriptions of all events and possible actions that can be assigned.
6.4.7
Lamp
The lamp object is based on the button object . It can display two states: On or off / lit or not
lit.
The lamp can be turned on or off by a variable reference. 0 or false equals off, 1 or true equals
on.
In difference to the button object, the images for the lamp are not included as separate Picture
Graphic objects.
Instead, there are two new parameters, Pressed Image and Released Image.
For common object properties of the object refer to this page . Here only the lamp specific
properties are described.
Please note that the "Set as Input" property for the lamp object is disabled by default, as it is
rather an indicator than a button. But it can still be enabled to be used like a button.
Lamp Specific Properties
Draw Shadow
A button shadow can be drawn around the button that changes according to pressed or
released state of the button. This is a visual help for the user to determine if the button is
just pressed or not.
Disable this property if the design of the button is completely custom and the press/release
state is distinguishable using the pressed and released objects (see above).
If this property is enabled, a small region between button background (or object inside
button) and border of the button is reserved for the shadow. If it is disabled, the background
of the button (or object inside the button) goes directly to the border.
Note: Even though the lamp is a round object visually, the button is still rectangle, and so is
the shadow, if this property is enabled.
Default value: Disabled
Possible value: Enabled or Disabled
Shadow Color
430
463
415