Thanks,
Supposing I have an array of column headers I want to
assign to the listview:
I currently use
for icount = 0 to ubound(myarray)
ListView1.Columns.Add(myarray
(iCount).ToString, 100, HorizontalAlignment.Left)
next icount
I was curious if I could have a function that builds up
any set of columns and return/assign them to any
new listview I create in the form of a column collection.
>-----Original Message-----
>"Armin Zingler" <(E-Mail Removed)> schrieb
>> "AnonMan" <(E-Mail Removed)> schrieb
>> > I have a function Called HeaderCol() that builds up
and
>> > returns a Column Header Collection.
>> >
>> > How do I assign this to my listview in my calling
>> > function ?
>>
>> You don't have to assign it because you have to pass
the Listview to
>> the constructor of the ColumnHeaderCollection.
>
>....which means that the ColumnHeaderCollection is
automatically assigned to
>the Listview.
>
>
>--
>Armin
>
>http://www.plig.net/nnq/nquote.html
>http://www.netmeister.org/news/learn2quote.html
>
>.
>