LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a table.

How can I create a table to set my data? I need to set the result of a Pattern Matching into a table... Thanks!
G.M.
0 Kudos
Message 1 of 2
(2,898 Views)
Hi Guido, table control is a built-in control introduced in CVI starting from version 6. In case you have a previous version you are not able to define tables on your panels.
 
In case you are using CVI 6 or above, simply right-click on a panel and select Table from the list of available controls and an empty table will be placed on your panel. You will need next to adapt table appearance to your needs (number of rows and colums, type and attributes of individual cells and so on).
 
In case you are using a previous version of CVI, the best thing I can suggest you to display your data is the use of a listbox, which can be adapted to mimic a table with a few instructions while populating it with your data. Basically, in a listbox you can organize your datas in columns and add vertical bars to separate the columns. Moreover, you can display individual items inside the rows with different background and foreground colours. See the on line help for Item Label field in InsertListItem () function for an explanation on how to do this.


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 2
(2,889 Views)