From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Key for focus in subpanel

No, the VI key events are registered only by the main FP containing the subpanels. However: after clicking into one of the string controls mentioned above one is able to tab through the subpanel then, but key events still registered only by the main panel, even then the tab events ...

0 Kudos
Message 11 of 14
(362 Views)

As far as I can see this is *still* an issue with subpanes...nothing has changed since 2019, or? Not having keyboard navigation available just due to using subpanes seems quite silly 😮

0 Kudos
Message 12 of 14
(60 Views)

This works.

Download All
Message 13 of 14
(42 Views)

Not exactly a tab-navigational experience that...but yes, if you e.g. do a key detection detecting the tab key, then check if the last (or prior one to the subpane's first) in the key order on the main has focus, you can send a message e.g. to the subpane-VI to put focus on its first control, then tab onwards from there. Then you have to do the reverse when getting to the last control in the tabbing order in the subVI to get focus back up to the main... 🙄 

 

LabVIEW should handle this automatically based on the key order of the given subpane and whatever VI is on display there.

0 Kudos
Message 14 of 14
(24 Views)