ActivePointer Property

Measurement Studio User Interface

ActivePointer Property

Syntax

Set Object.ActivePointer

Data Type

CWPointer

Applies To

CWKnob

CWSlide

Purpose

Specifies the CWPointer object of the active pointer.

Remarks

Clicking on the slide sets the value of the active pointer to the value of the axis at the mouse click. Also, pressing the increment or decrement buttons moves the active pointer.

If there is only one pointer defined for the control, that pointer is always the active pointer.

You should usually set pointers with mode = cwuiPointerModeControl to be the active pointer.

Example

'Set the value of the active pointer
CWSlide1.ActivePointer.Value = 6

'Set pointer 2 to be the active pointer
Set CWSlide1.ActivePointer = CWSlide1.Pointers.Item(2)

See Also

Value

ValuePairIndex