LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unexpected listbox navigation behavior

I found an unexpected behavior when navigating a listbox using the arrow keys. Items whose symbols are divider lines, and are thus not selectable, are included in the arrow navigation, but without visual feedback.

 

This is in contrast to other non-selectable items in the listbox, which are not skipped in keyboard navigation, but are highlighted (differently, with a gray outline) than selected items, so that there is visual feedback.

 

The preferred behavior for divider lines would be to skip dividers in keyboard navigation.

 

Thoughts?

_____________
Creator of the BundleMagic plugin for LabVIEW!
0 Kudos
Message 1 of 3
(228 Views)

Does this apply to all styles of listbox?  Modern, NXG, Silver, Classic, System?

0 Kudos
Message 2 of 3
(193 Views)

It is easy to show that this is the behavior across all types, as shown in the attached VI. Notice it also occurs on multi-column listboxes. In all cases, if you start on item a, the first click activates the divider row without feedback, and the second click shows you on item c. Hard to believe this behavior has existed in LabVIEW for so long.

 

Is there an instance where keyboard navigation to a divider line would make sense?  It does appear that the symbol and value of the divider-line item is not available for programmatic processing, as shown in the example.

_____________
Creator of the BundleMagic plugin for LabVIEW!
0 Kudos
Message 3 of 3
(122 Views)