Specifies whether to use the absolute or relative value to set the output value.
Syntax
object.UseDelta [= Boolean]
Properties
The UseDelta property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
Boolean |
Whether to use the absolute or relative value to set the output value. |
Settings
The settings for Boolean are:
Value |
Description |
True |
The target current value is added to the calculated output value before the outputvalue is written to its target. (Default) |
False |
The output value is written to its target with no current value added in. |
Remarks
This property controls whether the output value of the animation is written as calculated (absolute) to the property or if this value is used as a delta or offset from the property's initial setting (relative). This property should be enabled if the animation is relative to the current location of the object. If the object has a fixed screen location for animation (even if the object is moved in the Configuration environment) then disable this property. For most position animations this property should be enabled.
If the user sets up a connection to the HorizontalPosition property and set UseDelta to True, the base position of the object will be added to to the output value when the linear object evaluates. For example, the input range for the object is 0 to 100, the output range is 0 to 200, and the initial position of the object is 15. If the value of 50 comes in from the data system and UseDelta is True, the value of 115 is written to the HorizontalPosition of the object. If UseDelta is False, the value written would be 100.