Solved

TStringGrid column color

Posted on 1997-05-09
1
379 Views
Last Modified: 2010-04-06
I need my StringGrid to have one column which its text color is clRed. I tried modifying the canvas.font.color in the OnDrawCell event but it had no effect whatsoever.
What is the right way to do that ?
0
Comment
Question by:forger
1 Comment
 
LVL 2

Accepted Solution

by:
alona041797 earned 50 total points
ID: 1336071
You should make the grid OwnerDraw and then use OutText in the OnDrawCell event to print the text.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now