Watch, Follow, &
Connect with Us

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


ID: 25049, Help code example to access a name=value pair in a list box

by Rick Dickason Email: edickason@codegear.com


Classes.TStrings.IndexOfName
Classes.TStrings.Count
Classes.TStrings.Names
Classes.TStrings.Strings
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 334 downloads
Copyright: No significant restrictions


Size: 7,660 bytes
Updated on Wed, 03 Oct 2007 11:46:59 GMT
Originally uploaded on Wed, 03 Oct 2007 11:46:57 GMT
SHA1 Hash: 286E6B5813F09579500F166D1267AF22C2138937
MD5 Hash: E8695777AC595E5D3367023FE635F991

    Explore the files in this upload

Description
The following example updates the strings in a list box given the strings contained in another list box. If a string in the source list box has the form Name=Value and the destination list box contains a string with the same Name part, the Value part in the destination list box will be replaced by the source’s value. TListBox objects that are not name-value pairs are not assigned a Name and IndexOfName will return -1.

   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