Change caption of a column of a TCustomListView

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?

Who is Participating?
mikelittlewoodConnect With a Mentor Commented:
lvwSak.Columns[0].Caption := 'New Caption'
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.