Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 25047, Help code example to search a string list

by Rick Dickason Email: edickason@codegear.com


Classes.TStringList.Add
Classes.TStringList.Find
Classes.TStringList.Sort
Classes.TStrings.AddStrings
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 11.0  to 11.0 421 downloads
Copyright: No significant restrictions


Size: 7,402 bytes
Updated on Wed, 03 Oct 2007 11:27:57 GMT
Originally uploaded on Wed, 03 Oct 2007 11:27:55 GMT
SHA1 Hash: C30922019577462A18ED9F51F8649F5DFBE7728B
MD5 Hash: F2898D846047C0C953D3A83198AD3C3A

    Explore the files in this upload

Description
This example uses a list box and a label on a form. When the application runs, a string list object is created and three strings are added to it. The Find method searches the strings to look for a match with the string ‘Flowers’. If the string is found, all the strings in the string list are added to the list box, and the index value of the ‘Flowers’ string appears in the caption of the label control.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03