Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Multiple columns in Listboxes

Posted on 1998-03-03
2
Medium Priority
?
238 Views
Last Modified: 2010-04-06
Hi,

Presumably I set the columns to more than 1 for a multiple column listbox, but how do I get data into the columns and how do I activate the horizontal scroll bar.

Thanks

Chris
0
Comment
Question by:ChrisBerry
2 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 200 total points
ID: 1360045
This should work, if not give a sign :

Set the TabWidth property in the ListBox property editor.
e.g.  if your listbox is 300 pixels, set the TabWidth to 100 or so.

When you add items to the listbox insert &Tabs" - ^I for example:

ListBox1.Items.Add('Column1'^I'Column2'^I'Column3');

PS. I is capital i !!

Regards, Zif.

0
 

Author Comment

by:ChrisBerry
ID: 1360046
Thanks,

I now understand Delphi columns in Listboxes. Coming from an Access perspective, Lisboxes can have true columns like a Grid control and I was expecting similar on reading that multi column was a property of the Delphi Listbox.

Regards

Chris

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question