LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

keyboard navigation with left right keys for a ring

Hello,
 
is it possible to use the left/right keyboard keys to control a ring? They do not appear in the keyboard-navigation properties.
 
It has to work that way, that I can move with the keys through the ring-entries and select the desired entry with <enter>
 
Many thanks in advance,
 
                    Magnus
0 Kudos
Message 1 of 4
(3,228 Views)
Hi Magnus,

This is not the only way, but I think this is the easiest... use an event structure to detect a keystroke, and if the pressed key is the one you want, update the value of you ring 😉


Message Edité par TiTou le 12-12-2006 10:29 AM


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 4
(3,228 Views)

Hi TiTou,

thank you very much!

Just one more thing: if I press now the key, the new value for the ring is immediately active. So you can only jump to the next or the previous element.

I need the function in the same way as if you click with the mouse on the ring, all ring-elements are shown and then you can select one element.

Any idea?

Thx,

          Magnus

 

0 Kudos
Message 3 of 4
(3,208 Views)
Hi Magnus,

Sorry, I haven't found how to do exactly what you're asking for... I made a small VI in which if you press "left" or "right", the ring gets the "key focus" and then you can "scroll" the value with the up/down arrow, but you can't see all the value like if you actually clicked on it...

Hope this helps... 😉

BTW, I don't know in which context you are using LabVIEW, but this point is - IMO - not worth spending hours 😉

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 4 of 4
(3,201 Views)