LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

table button set visible

Solved!
Go to solution

Hello, I'm trying to change the visibility / dimmness of a cell button inside a table.  From what I could gather, this was the proper method:

 

SetTableCellRangeAttribute(panel,table,VAL_TABLE_COLUMN_RANGE(column),ATTR_DIMMED,TRUE);

 But I get a NFRTE: "The attribute passed is not valid"

 

How would I go about doing this?

0 Kudos
Message 1 of 3
(3,274 Views)
Solution
Accepted by topic author ElectroLund

Hello ElectroLund,

 

You need to use ATTR_CELL_DIMMED instead of ATTR_DIMMED in the call of SetTableCellRangeAttribute()

If you use the function panel it is easier to get the right parameters

0 Kudos
Message 2 of 3
(3,260 Views)

Thanks!  Yeah, I need to start using the FP more.  I'm not in the habit...

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