07-18-2013 10:54 AM
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?
Solved! Go to Solution.
07-19-2013 02:01 AM - edited 07-19-2013 02:16 AM
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
07-19-2013 08:28 AM
Thanks! Yeah, I need to start using the FP more. I'm not in the habit...