01-11-2010 11:48 PM
Hi,
The uir I have developed has a table with group of combo box, string and numeric controls.
When i select data in the the combo box of first column in any row, depending on the value of combo box,I need to disable or enable other(string and numeric) controls of the corresponding row.
I am new to Labwindows,
Can anyone help me out in telling me what functions are available to get the data of combo box from a table control?
I need both data selected in combo box and row in which the combo box is selected.
Here is snap shot of uir attached.
01-12-2010 05:47 AM
Hi,
There are a group of functions for reading value out of table cell controls.
Instead of pointing you to a single one that may help you now, I prefer you learn all of them so you can use them as required.
From the CVI menu go to View > Find Function Panel, or type Ctrl+Shift+P while a code window is displayed.
Type "gettablecell" as the search keyword and browse through the functions, read their embedded help.
You'll find the one that best suits your needs.
One critical point is defining the cell of the table you need to read/write.
CVI defines each cell as a point with (x,y) coordinates, where (1,1) is the top-left cell of the table. x values increases to the right and y increases downwards.
You can use the MakePoint(x,y) function directly in the function call to specify the cell address.
Hope this helps,