Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing ActivePointer.Index from code is impossible!

The ActivePointer.Index is a read-only property.
So how can I change the active needle if I've set two pointers in a knob control?
It seems that is impossible in this version of cwui.ocx 3.0.1
0 Kudos
Message 1 of 3
(3,219 Views)
Like this:

Set CWKnob1.ActivePointer = CWKnob1.Pointers.Item("Pointer-2")

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 3
(3,219 Views)
I am having a similar problem with a slider. I have a slider with three pointers. When I try to use the activepointer property to set the activepointer it assigns the value of item(1) to the active pointer. That's not what this is suppose to do according to the documentation.

cwsExposure.ActivePointer = cwsExposure.Pointers.Item(1)

Paul
0 Kudos
Message 3 of 3
(3,219 Views)