LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

auto-scrolling tables

If I'm using a table control, which is quite large, and only part of it is showing on the screen - is it possible TO CHOOSE which part of the table would how on the screen?
0 Kudos
Message 1 of 3
(3,007 Views)
Well... you can scroll the contents of the table by specifying a row offset and column offset. You can also size the grid area such that the table contain a fixed number of rows and columns. (If your rows and columns are not all the same size, that will be taken into account...). The relevant attributes are:

ATTR_FIRST_VISIBLE_ROW
ATTR_FIRST_VISIBLE_COLUMN
ATTR_NUM_VISIBLE_ROWS
ATTR_NUM_VISIBLE_COLUMNS

Is this what you were looking for?

Luis Gomes
NI
0 Kudos
Message 2 of 3
(3,007 Views)
Yep, that did it.

Thanks a lot!!!
0 Kudos
Message 3 of 3
(3,007 Views)