LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

cvi SetTableCellRangeAttribute

Hi,

I  am using cvi 8.0 to create a table in the uir file, the table default attribute is INDICATOR. when the application launched, dynamically insert a row, then want to edit the cell's data. I use "SetTableRowAttribute(panelHandle, DEVTAB_DEVTABLE, devTableRow+1, ATTR_CELL_MODE, VAL_HOT); " hope can make the row change the run mode from INDICATOR to HOT, so that i can edit it, but whatever this behavior can not appear. please advise how to realize the function. Thanks.


David
0 Kudos
Message 1 of 3
(3,202 Views)
And also use "SetTableCellRangeAttribute(panelHandle, DEVTAB_DEVTABLE, MakeRect(devTableRow+1, 1, 1, 5), ATTR_CELL_MODE, VAL_HOT); " to try it, but not any response.


David
0 Kudos
Message 2 of 3
(3,202 Views)
David, despite the state of individual cells, you cannot operate on a table if the control itself is in INDICATOR mode. Check that the table is in normal or hot mode and your new cells should be editable.


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?
0 Kudos
Message 3 of 3
(3,197 Views)