07-08-2014 02:51 AM
I am trying to make an entire row of a table (set in Hot mode) to become selected if any of its cells are clicked. What I'm seeing is that the SetTableSelection just doesn't do what it's supposed to do. And I don't want to click the row label to select the whole row.
In addition, I want to make the selected row highlighten in color "blue" rather than in color "black" if the background color of the row is originally "white".
The questions are as follows,
1) How to make an entre row of a table (set in Hot mode) to become selected if any of its cells are clicked ?
2) Hhow to change the color of the highlightening row of the table ?
07-08-2014 03:26 AM
see here
07-08-2014 03:48 AM
I have used this method, but it still has problems. SetTableSelection doesn't work if the event is EVENT_LEFT_CLICK. If I use the event EVENT_LEFT_CLICK_UP, then SetTableSelection does work. But the response process is that at first the specific table cell is highlighten, and then the entire table row is highlighten subsequently. You can see the process clearly, but what I want is that the cell and the entire row are highlighten simultaneously.
07-14-2014 11:15 AM
Are you sure that you are swallowing EVENT_LEFT_CLICK after you set the table selection?