Board index » cppbuilder » Getting access to one column text font in a StringGrid component
Frank Chisme
![]() CBuilder Developer |
Frank Chisme
![]() CBuilder Developer |
Getting access to one column text font in a StringGrid component2004-09-14 11:55:45 PM cppbuilder53 Hello Everybody, I´m working with C++ Builder 5.0. In my project, I´m working with a StringGrid component which has two columns and several rows. I´d like to change the font of all the text in the left column (to put them in bold, i. e.), not the right ones, but I don´t know how to get access to an specific column text font. Anybody can help? Thanks in advance. |
JD
![]() CBuilder Developer |
2004-09-15 12:06:29 AM
Re:Getting access to one column text font in a StringGrid component
"Frank Chisme" < XXXX@XXXXX.COM >wrote:
Quote
Sample code: groups.google.com/groups All you need to do is is modify the sample to change the font's attributes: // add bold pCanvas->Font->Style = pCanvas->Font->Style << fsBold; // remove bold pCanvas->Font->Style = pCanvas->Font->Style>>fsBold; ~ JD |
Frank Chisme
![]() CBuilder Developer |
2004-09-16 10:51:19 PM
Re:Getting access to one column text font in a StringGrid component
Thank you ID!
I´m trying it. "JD" < XXXX@XXXXX.COM >escribi?en el mensaje Quote
f8fa%241%40newsgroups.borland.com&rnum=1 Quote
{smallsort} |