Mega Code Archive

 
Categories / Delphi / Examples
 

How to add columns to a tlistbox

Put in the TabWidth property the width of the column in pixels (test it with 100, for example). When you add items to the listbox, separate the columns with ^I. ListBox1.Items.Add('FirstColumn'^I'Second'^I'Third');