LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

*real* key navigation

I'm working with LabVIEW 6.1 (7.0 in the future?)
I consider *real* key navigation with [alt]+[underlined character] a very fundamental GUI funktionality. However I didn't even find a "workaround" in the code examples.
Is it possible to catch keyDownEvents and set the keBoardFocusProperty if the key is a navigation key and otherwise "feed the event back" into the normal event queue? Or does anybody out there have an other solution except switching to Delphi, C ... ?
0 Kudos
Message 1 of 3
(2,704 Views)
I would suggest looking at the event structure and the key down filter event. When a key is pressed the event will fire and you can then define what you would like to do with that key press. If it was a key you wanted to monitor you can act on it. If it was not one of your keys you can pass the character back out, even changing what character is sent into the queue.
0 Kudos
Message 2 of 3
(2,704 Views)
Thank you,
I'm able to focus an element and enter values. But yet I didn't manage to unfocus it: I have to press Enter or Shift+Enter respectively before focusing another. Therofore I tried to feed those keys back, but Enter, F2, ... have ChrNr. 0 and it seems impossible to feed back scancodes.
My preliminary programms are in the attachments. I don't know wy I have to place the controls (just a string and a number) inside the event box.
Download All
0 Kudos
Message 3 of 3
(2,704 Views)