Value Property

Measurement Studio User Interface

Value Property

Syntax

Object.Value

Data Type

Variant

Applies To

CWKnob

CWSlide

Purpose

Specifies the value of the active pointer.

Remarks

When the control is in ValuePairs Only mode, this property is the value of the value pair selected by the pointer. You must use the ValuePairIndex property to set the value.

Example

'Set the value of the active pointer on the slide
CWSlide1.Value = 5

'Set the value of the active pointer on the knob
CWKnob1.Value = 7

'Access the Value property of the active pointer
x = CWKnob1.Value

See Also

ActivePointer

ValuePairIndex

CWPointer.ValuePairIndex