Previous Next


LockValue Property (RDKInput Object)

Description

Sets the lock value of the input. Inputs that are locked return a specific, non-varying value. This is useful for testing your model under different circumstances. This property has no effect unless the LockingEnabled property of the parent RDKInputs collection object is TRUE and the LockState property of the input is set to RDKLockStateValue.

Syntax

object.LockValue

Arguments

None

Return Value

(Double) – the locking value.

Example

'Lock myInput to the value 3:
RDKApp.Inputs.LockingEnabled = TRUE
With RDKApp.Inputs("myInput")
    .LockState = RDKLockStateValue
    .LockValue = 3
End With