LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use arrow keys to navigate a Table - there's got to be an easier way?

I have looked at the submissions regarding how to navigate the cells of a LabVIEW table with the arrow keys, but I'm not having much luck with making it work. Any code examples or more explicit help out there?
Richard






0 Kudos
Message 1 of 5
(4,071 Views)
> I have looked at the submissions regarding how to navigate the cells
> of a LabVIEW table with the arrow keys, but I'm not having much luck
> with making it work. Any code examples or more explicit help out
> there?
>

Note that when the VI is in edit mode, some of the keys are used for
other things, like changing tools, but when the VI is running, the tab
and return keys are probably your best bet. If you click in a cell,
then the tab key will move row by row where return will move column by
column. If you are tabbing through the rest of the keyboard, then the
initial tab will tab to the entire table allowing you to tab over it or
through it. To tab into/through the table, hit Ctl/Command down arrow.
When you want to tab out of the table, h
it Ctl/Command up arrow.

Then there are the arrow keys. Hitting normal left, right, up, and down
keys move about within a cell. Shift left, right, up, and down move you
between cells. These work in both the editor and while running.

Greg McKaskle
Message 2 of 5
(4,071 Views)
Thanks Greg. While that idea works for me, I'm not sure my users will warm up to it. The end user really wants the table to behave like Excel. Looks like capturing keyboard events is the only way. (?)
Richard






0 Kudos
Message 3 of 5
(4,071 Views)
p.s. How in the world did you find that solution?
Richard






0 Kudos
Message 4 of 5
(4,071 Views)
> p.s. How in the world did you find that solution?
>

I don't have Excel handy, but I believe that the tab and return are
pretty standard. You should be able to use the keyboard VIs if you have
a different mechanism in mind.

As for how I knew this, it sort of comes natural since I work for NI.

Greg McKaskle
0 Kudos
Message 5 of 5
(4,071 Views)