Adding headers to TListView programmatically
September 3, 2015
During today’s Delphi, C++Builder and RAD Studio 10 Seattle launch webinar, I got a question on how to add headers to TListView programmatically instead of using LiveBindings with a data source.
Here is a quick code snippet showing how to programmatically add TListView headers.
procedure TListViewHeaders.FormCreate(Sender: TObject);
var
Group, Item: Integer;
begin
for Group in [1..4]…