I need to be able to show visually that now rows are selected. I would assume this would be built in. First when we load the form with a truedbgrid it highlights the first row but does not actually select it. We’ve handled this in the load event by adding row(0) to the selectedrows collection.
Second we need to be able to deselect all rows. I’ve done this in the mousedown event by checking if the row that was clicked was already in the selectedrows collection and if so selectedrows.clear. However, the highlight is still there. So visually it looks as if the row is still selected. I can't seem to get rid of the highlight.
To complicate things even more, my rows can have one of 3 different colors depending on the value of a particular cell in that row. See my other post: http://forums.componentone.com/CS/forums/p/75291/205004.aspx#205004. So if the rowbackcolor was green I need it to go back to green when we remove the highlight, if yellow, etc.
Your help is greatly appreciated,
+------------------------------------+
Jessie Burns, Developer
Bogardus Medical Systems, Inc.
3555 NW 58th St., Suite 500
Oklahoma City, OK 73112
E-Mail: jburns@oncochart.com
+------------------------------------+