Board index » delphi » painting a DBCtrlGrid
T.Gray
![]() Delphi Developer |
Sat, 29 Sep 2001 03:00:00 GMT
painting a DBCtrlGrid
I need to paint a DBCtrlGrid different colors under different conditions.
I.E. I need to show the selected record in a highlight color, and the rest of the grid another color when I am performing an operation such as Drag & Drop Etc. I also need to paint the entire grid the same color if the operation is finished. Some sort of Boolean I suppose. The code I am currently using to paint the grid id below. I need to add the extra steps to return it to one color as needed. I can't seem to get it to "repaint' when the boolean changes. Can someone offer a suggestion please. :-) Sample Code: T.G. |