LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

key focused cluster controls

Solved!
Go to solution

Has anyone been able to apply key focus/tab/arrow keys to cluster controls??

0 Kudos
Message 1 of 6
(2,672 Views)

You can use the Key Focus Property Node of one of the elements in the cluster to set the focus on something. From there, you can use the tab key and move about the cluster.

Richard






0 Kudos
Message 2 of 6
(2,663 Views)

Can you send me a working example?

0 Kudos
Message 3 of 6
(2,659 Views)

No LV at the moment. Let me explain the process:

 

  • On the front panel, right click one of the elements in the cluster - lets say the topmost element - and select Create > Property Node.
  • A Property Node will be created on the diagram. Right click that node and select Key Focus.
  • Change that node to Write.
  • Wire a true boolean constant to it.
  • Put this outside your main loop so that it activates when your program starts.
Richard






0 Kudos
Message 4 of 6
(2,651 Views)
Solution
Accepted by topic author Newton2this

Hi,

 

Find an example below. You can press tab to focus the next control.

Message 5 of 6
(2,645 Views)

Well done!  Thank you, John

0 Kudos
Message 6 of 6
(2,632 Views)