Hi All,
I find a strange behavior to the table control. In my application, I make a table (classical style) which include 3 columns, and dynamicly insert rows into it. My idea is just need when click the selected row, the whole row should be highlight. So in the table control call back function, it is placed a PostDeferredCall() calling, once click the table, I can through the post calling to perform the task of highlighting row, the 2 syntax in the post calling are as this : GetActiveTableCell(odbcqryPanel, ODBCQRY_DSNTABLE, &selectedCell);//Pick the selected cell
SetTableSelection(odbcqryPanel, ODBCQRY_DSNTABLE, MakeRect(selectedCell.y,1,1,3));//highlight row . But the strange behavior is that when click the first cell , it sometimes just can highlight the first cell, if click the second cell, it sometimes just can highlight the two cells, however, if click the third cell , the whole row can be highlited. I do not know if it is cvi‘s bug?
David