Re: StringGrid: How to change the font colour of a cell
"Rory Daulton" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <000601c34d62$a25662d0$6401a8c0@laptop> |
smching2001,
> Error encounter when I execute the code from Lloyd.
> The program stopped at this line:
> if (stringGrid1.cells[Acol, Arow][1] = '1') and (ACol = 0) then
Oops, sorry. I've never seen Lloyd's mess up like that before.
The error is removed if you change the line to:
if (stringGrid1.cells[Acol, Arow] <> '') and
(stringGrid1.cells[Acol, Arow][1] = '1') and (ACol = 0) then
Rory Daulton
[email protected]
Campus Crusade for Christ
---
[This E-mail scanned for viruses by Declude Virus and Nmax "Your MAXimum Connection!"]
[This E-mail scanned for spam by Declude JunkMail and Nmax "Your MAXimum Connection!"]
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get a FREE REFINANCE QUOTE - click here!
http://us.click.yahoo.com/nHYuCC/ca0FAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->
CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
---------------------------------------------------------------
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/