Initializing listView items

  • Thread starter Thread starter Ray Mitchell
  • Start date Start date
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
 
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
 
There is a property of a ListViewItem called SubItems

Hope this helps

Dan Cimpoiesu
 
Back
Top