Re: How to make the DBGrid cell color

[ DelphiLand Discussion Forum ]

Posted by webmaster Guido on April 05, 2003 at 14:06:50:

In Reply to: How to make the DBGrid cell color posted by sam sgling07 on April 04, 2003 at 15:26:14:

: Hi,
: Can someone teach me how to make a color on a DBGrid cell when I click on the particular cell? But my setfocus is not on the cell. Once I click on the cell(and make it color) then my set focus will on another text box. I have tried but it gave me the whole colume with color.

: Thanks for help.

When has the cell to change color:
- only when it receives focus, i.e. when you click on it or scroll to it with the cursor keys?
- or always when a certain condition is met? (for example, when it contains a negative number)

Related Articles and Replies:

[ DelphiLand Discussion Forum ]