Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Table Cell Attribute Dimmed-Still sends events. I need to disable some table cells to restrict callback event.

$
0
0

I have a table with many rows and columns. I want to "disable" some cells such that users can see them but when they click/double click on that cell nothing happens.

In my code I have callback function for the table and based on user's table cell selection (Doubleclick) I perform some action.

 

I tried cell attributes Dimmed and changed mode to indicator but when I doubleclick on cell It still generates double click events. 

 

SetTableCellAttribute (panelMain, MAIN_TABLE_COMMAND,MakePoint (1, i), ATTR_CELL_DIMMED, 1);

 

SetTableCellAttribute (panelMain, MAIN_TABLE_COMMAND, MakePoint (1, i), ATTR_CELL_MODE, VAL_INDICATOR);

 


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>