Navigation

Delphi Programming Tutorial #24 - DBGrid OnDrawColumnCell

Delphi Programming Tutorial #24 - DBGrid OnDrawColumnCellAuthor: codegearguruAdded: Fri, 07 Sep 2007 22:55:09 -0800Duration: 591In this Delphi tutorial we are going to look at how to take advantage of the OnDrawColumnCell event on the TDBGrid component. In particular we are going to examine how to make every second row a different colour (Sky Blue) and how we can change the appearance of the text depending on the data.

PS. Sky Blue is not compulsory (and perhaps not even recommended)

Add comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You may insert videos with [video:URL]

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.