 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
g Guest
|
Posted: Mon Aug 02, 2004 9:25 am Post subject: TListView Change Font Color |
|
|
Hi, I have the code here:
TListItem *newItem;
ListView->Items->BeginUpdate();
newItem = ListView->Items->Insert(0);
newItem->Caption = "A";
newItem->SubItems->Add("B");
newItem->SubItems->Add("C");
ListView->Items->EndUpdate();
How can I change the color of "C" into RED?
ListView ->Items->Item[0]->SubItems->Strings[1] = "C";
Best regards and Thx
Grace
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Mon Aug 02, 2004 9:54 am Post subject: Re: TListView Change Font Color |
|
|
g wrote:
| Quote: | How can I change the color of "C" into RED?
|
Wrong newsgroup section. .ide is so named because it deals with
questions relating to the IDE (Editor, debugger etc). Questions such as
yours that relate to using VCL components should be posted into
..vcl.components.using
FWIW you will probably need to take care of drawing the component
yourself so check out the help for OnDrawItem. For further questions I
have set follow-up to .vcl.components.using
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|