Getting one line in a lisBox

  • Thread starter Thread starter Jorn T
  • Start date Start date
J

Jorn T

I need to get the content of line x of a listBox. How would I go about
doing this? Is there a index property for lines?

E.G:

Listbox content:
something
something2
so on

Code:
Edit1.text = listBox.someproperty[0];

Then Edit1 should show "something".

Jorn T
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top