LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Access a hidden control

Hello,

 

I want to access a hidden control, but I'm not able to accomplish this.

If you take a look in the attached file you can see that I have a Logic Control that has assigned F3 as short - key. If I press the F3 key when the control is visible everything is nice, but if I'm making it not visible (with property node) I can't access it anymore.

I have a solution, but is far away of being elegant: make the control very small, send it to back, and hide it beneath a bigger Front panel control. I would like to solve this problem in a better and elegant way. If you have some other solutions for this, please let me know.

 

Thank you,

Paul

 

0 Kudos
Message 1 of 5
(3,065 Views)

Hi Paul,

 

Key navigation only works for visible items. Invisible items can't have key focus and keyboard shortcuts don't work (if the user can't access the button by mouse it's kind of logical that it is also not possible via keyboard shorcuts).

A workaround is to program your own keyboard shortcuts by handling the "This VI > Key Down" event.

 

Hope this helps,

Daniel

 

 

Message 2 of 5
(3,057 Views)
You forgot to attach the file...
Message 3 of 5
(3,056 Views)

Hi,

 

Indeed, I forgot to attach it.

 

Paul

0 Kudos
Message 4 of 5
(3,048 Views)
Your question has pretty much been answered by Dan. On a side-note: remember to not make greedy loops.
Message 5 of 5
(3,033 Views)