LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI .uir Table, how to auto scroll as new rows are added?

Solved!
Go to solution

CVI Code

InsertTableRows(PanelHandle, ControlID, -1, 1, VAL_CELL_STRING);
SetTableCellVal( <etc>, <etc> );

once new rows are added off the bottom, it doesn't automatically scroll to show new entries like a TextBox.  i've seen an example to force a ListBox to set the control index to the most recent entry, but i cant find a corresponding function for the Table.

thanks for your help.

0 Kudos
Message 1 of 3
(3,801 Views)
Solution
Accepted by topic author rjohnson

Probably calling SetActiveTableCell can do the trick. You can retrieve the number of rows in the table with GetNumTableRows.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 3
(3,799 Views)

ah, yes, thanks.   🙂

 

0 Kudos
Message 3 of 3
(3,795 Views)