Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi-column list box

Status
Not open for further replies.

afryer

Programmer
Mar 9, 2004
207
GB
Hello everyone,

I am very new to delphi and am having serious problems with list boxes (as my previous post shows). I need to be able to set up a multi-column list box with the following properties:

1) The column widths should in total, not exceed the width of the the list box
2) I need to be able to insert the values manually from a database, i.e each column will be inserted in turn.

Any help would be most appreciated.


Andrew
 
Have you looked at using a TStringGrid instead of a list-box? You'll be able to set the width of the columns, add data by column, and generally do what it seems you're trying to do with much less trouble than trying to use a TListBox.

-D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top