Initializing listView items

R

Ray Mitchell

Hello,

I've created a 2-column listView control and have successfully labeled the
column headers using the ColumnHeader Collection editor. I would now like
to put some text items into the list using the ListViewItem Collection
Editor. I can successfully do this for the first column by simply entering
the Text field of the desired member but I haven't been able to figure out
how to put anything into the other columns. I figure there must simply be
some sort of delimiter to use between the desired text (but maybe I'm on the
wrong track).

Thanks,
Ray Mitchell
 
M

Matthias Klöpper

Mornign Ray,
the other columns are represented as own objects. Every ListItem has a
collection of SubListItems where each SubListItem represents one column.

Greetings,
Matti
 
D

Dan Cimpoiesu

There is a property of a ListViewItem called SubItems

Hope this helps

Dan Cimpoiesu
 

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

Top