Previous Next


LockingEnabled Property (RDKInputs Collection Object)

Description

Globally controls if input objects in the collection can be locked. By default this property is FALSE. Inputs that are locked return a specific, non varying value. This is useful for testing your model under different circumstances. To set a lock for a particular input, use the LockState and LockValue properties of the RDKInput object.

Syntax

object.LockingEnabled

Arguments

None.

Return Value

(Boolean) – TRUE if inputs can be locked, FALSE if not.

Example

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