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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCombobox with 2 columns 1

Status
Not open for further replies.

RTKean

Programmer
Joined
Jan 2, 2002
Messages
6
Location
BE
Hi everybody,
I need to have a combobox with 2 columns within...I've tried with a Tstringlist but I don't know wich method I have to call (Tcombobox.items.addObject???).

Please help me. Thanks


RTKEAN
 
Why don't you use TListBox and set the columns property to 2 Steven van Els
SAvanEls@cq-link.sr
 
Yes , maybe it is the best solution.
Thanks.
RTKEAN
 
hi

Just going back to the 2 coloumn combo, I wanted to use this but couldn't find how to actually add data in to the 2 columns, could only get data appearing in the first column. For future reference, how do you do it?

lou
 
hi,

I took a look at the internet and i came across this website


it has an example on how to create multiple column comboboxes. It has also some other examples and the best of all you can download the code for free.


Steph [bigglasses]
 
In the 2 column list box, if the list exceeds the visible area of the listbox, the 2nd column appears Steven van Els
SAvanEls@cq-link.sr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top