-
Multiline ListView
I've posted this topic before but I couldn't find the answer I was looking for. I was wondering if there's a way to make a multiline ListView by using some sort of code to merge two ListView rows? Or if there's any other ways, I'd like to hear about it. I don't like using third-party controls unless I made it :D
Thanks
-
Re: Multiline ListView
for starters i input the column headers in hardcode rather than properties. then ya just use sub items. say im using 2 colums and x amount of rows. this is how i would input data from textboxes into the row fields...
Code:
private sub command1_click()
Dim Header As ColumnHeader, Item As ListItem
Set Header = ListView1.ColumnHeaders.Add(, , "column1", 600)
Set Header = ListView1.ColumnHeaders.Add(, , "column2", 600)
Set Item = ListView1.ListItems.Add(,,,,)
Item.SubItems(1) = text1.text
Item.SubItems(2) = text2.text
end sub
-
Re: Multiline ListView
I can't seem to get the code to work.