LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

7.1 no longer retains numeric content selection

I upgraded from LabWindows 6.0 to 7.1. I immediately got complains from users of my applications regarding the following scenario:

User selects (clicks on) a numeric control.

With the previous installation (6.0), the numeric value contained in the control would highlight, the user could use the numeric keypad to enter a new value, hit return, the new value would stay highlighted, he could enter another value, hit return as so on and so on.

With the new installation (7.1), the complete numeric value is not highlighted; the cursor simply assumes a point between digits in the numeric value and any keypad entry is inserted at that point. Manually highlighting (click and drag), entering a new value and hitting return gets the same result; the cursor is between two digits and any entry will be inserted.

It seems the only way to cause the entire content to highlight is clicking on the increment/decrement arrows. This, again, requires use of the mouse instead of the keypad.

I actually verified this issue on a test station that has not been updated the the new CVIRTE. The application runs as expected (with the numeric content highlighted).
0 Kudos
Message 1 of 3
(3,061 Views)
Hi I don't know whats going on with CVI 7.1 but if you change your code to set active control that should highlight that value. (SetActiveCtrl)
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 2 of 3
(3,046 Views)
This behavior did in fact change between CVI 6.0 and CVI 7.0. The post below describes a workaround to restore the previous behavior, which is pretty much what Sheetal wrote.

http://forums.ni.com/ni/board/message?board.id=180&message.id=10158&requireLogin=False
0 Kudos
Message 3 of 3
(3,032 Views)