Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to save TListbox items to a preformatted list?

Posted on 2006-11-23
1
180 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…

860 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