Solved

How to save TListbox items to a preformatted list?

Posted on 2006-11-23
1
181 Views
Last Modified: 2010-04-05
Hi my friends!

When I save my Tlistbox items I get such a list >

monday
tuesday
wednesday

How can I modify this so that it saves the items >

monday,tuesday,wednesday

Notice the items should follow up each seperated by a comma.

Kind regards,

Peter

ps working samples do the trick ;-)
0
Comment
Question by:PeterdeB
1 Comment
 
LVL 21

Accepted Solution

by:
ziolko earned 500 total points
ID: 18003192
 ListBox1.Items.Delimiter := ',';
  ShowMessage(ListBox1.Items.CommaText);


ziolko.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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