Re: Stringgrid cell colour: yellow on red if negative?

Posted by Harry D. P16510 on August 07, 2008

In Reply to Re: Stringgrid cell colour: yellow on red if negative? posted by Jenny, DelphiLand Team on July 20, 2008

: In order to limit the cell colouring, you expand the IF condition with "exclude the top row" and "only if the column is the second column":

: if (ARow > 0) and (ACol = 1) and
: (Length(S) > 0) and (S[1] = '-') then begin

and so on...
--------------------
Thanks a lot, your code works like a charm :)

Related articles

       

Follow Ups