LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

allow operator to insert tabs in string control

I'm trying to allow an operator to insert tabs in a string control with the keyboards tab button. Nothing happens when the tab button is pushed. I tried Skipping the Control in Key Navigation but that didn't work. This is LV 6.1.
0 Kudos
Message 1 of 2
(2,228 Views)

6.1 does not have filter events (where you can discard the tab click), but you can use the event structure with the key down event and if you detect that the tab was clicked you can add a tab to the string programmatically and then use the Key Focus property to set the focus back to the string. I think you might be able to play with the text properties to get the cusor to the end.

Of course, you can also use another key and simply tell the operators not to click tab, but that would make for an ackward user experience.


___________________
Try to take over the world!
Message 2 of 2
(2,225 Views)