Change caption of a column of a TCustomListView

Posted on 2006-05-05
Medium Priority
Last Modified: 2012-05-05
At start I've got this code:

lvwSak.Columns.Add.Caption := AMOUNT;
lvwSak.Columns[0].Width := 85;
lvwSak.Columns.Add.Caption := CODE;
lvwSak.Columns[1].Width := 50;

Later I want to change caption of the first column, how do I do that?

Question by:catti
1 Comment
LVL 15

Accepted Solution

mikelittlewood earned 200 total points
ID: 16614212
lvwSak.Columns[0].Caption := 'New Caption'

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month14 days, 5 hours left to enroll

807 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