LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

key focused cluster controls

Solved!
Go to solution
Highlighted

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

0 Kudos
Message 1 of 6
(1,162 Views)
Highlighted

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
(1,153 Views)
Highlighted

Can you send me a working example?

0 Kudos
Message 3 of 6
(1,149 Views)
Highlighted

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
(1,141 Views)
Highlighted
Solution
Accepted by topic author Newton2this

Hi,

 

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

Message 5 of 6
(1,135 Views)
Highlighted

Well done!  Thank you, John

0 Kudos
Message 6 of 6
(1,122 Views)