LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

placing cursor in numeric control

Hi all

I know this should be peace of cake but…In my application there is a numeric control and I need the mouse cursor placed programmatically to the first decimal place of the control. This way the user can operate the control value with up, down, left and right arrows without looking at the control - he knows that the cursor is at first in the first decimal place when he presses the up-arrow to increase the value. Any idea to for this?  LabView version is 7Express.

Property node with key focus isn't good because the cursor moves to the most significant digit when you press the left-arrow.

Thanks in advance.

0 Kudos
Message 1 of 3
(2,648 Views)
I think the only solution is to simulate the clicks after you set the focus to get the cursor to the right place. You can use the attched VI (windows only).

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,635 Views)

Hi

Thank you tst - I got my vi working properly using this method.

0 Kudos
Message 3 of 3
(2,616 Views)