LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

use 'page up' & 'page dwn' key navigation

I need to navigate a list box using the page up and page down keys (customer requirement). Is there a way to use dual key navigation on a control like this? They want the page up and page down keys to go up and down in the list box. How do I do that?
Thanks,
cdobis
0 Kudos
Message 1 of 4
(2,926 Views)
As far as I know you can only set the key to use to set the focus to the listbox. I don't believe that control doesn't have other key bindings. To do what you want you can use an event structure to trap the page up/page down keys and navigate the listbox programmatically. Maybe replacing the page up/page down requirement with buttons would be acceptable to your customer?
0 Kudos
Message 2 of 4
(2,917 Views)
Hold on, I just realized I misread your question. The page up/page down keys already work inside a listbox. So, I don't understand what you're asking. Or, are you asking that the page up/page down work the same way as using the arrow up/arrow down keys? If so, tell your customer that is improper user interface principle. There's a reason why it's called page up.
0 Kudos
Message 3 of 4
(2,914 Views)

You are right! Geez, here I am making it harder than it is!

Thanks for straightening me out.

cdobis

0 Kudos
Message 4 of 4
(2,905 Views)