So we want to show the rectangle on mouse down. But we have several problems:
1.How do I select index of the group of the row so I can set ONLY the group of the selected row? I do not know how to get and set the Index of the row to the group and set set the visible property to true.
Code: Select all
on mousedown
put the dgHilitedLines of group "DataGrid 1" into theLine
--How to select the index of theLine in the row Array so I can show bgHighlight
set the visible of graphic "bgHighlight" of group "DataGrid 1" to true
end mousedown
2. Also now that I created "on mousedown", The first line in the MouseUp stop working. It read dgHilitedLines as Empty
Code: Select all
put the dgHilitedLines of group "DataGrid 1" into theLine