Watch, Follow, &
Connect with Us

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

ID: 25048, Help code example to reference components from a list box

by Rick Dickason Email:

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 255 downloads
Copyright: No significant restrictions

Size: 7,899 bytes
Updated on Wed, 03 Oct 2007 11:42:44 GMT
Originally uploaded on Wed, 03 Oct 2007 11:42:42 GMT
SHA1 Hash: 27AC55468B353FE73CB89E89AB2D9E50FD7F5FD9
MD5 Hash: 06021F3329AA5A7A8B8DD944E1E62AE3

    Explore the files in this upload

For the following example, add a button, a status bar, and a list box. Set the SimplePanel property of the status bar to true, using the object inspector. The following code fills a list box with the names of all components on the form when the user clicks the button. References to the components themselves are inserted along with the names. The components are all inserted at the front of the list, so that the last component added to the form is the first component in the list. When the user right-clicks the name of an object in the list, the component’s coordinates are displayed on the status bar. Note that because we are using the right-click, the item need not be selected.

   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