Hi
I have ListView in "detailsView" Mode with two columns.
Now I want to add Entries to this list.
Now I have two lines in my ListView but with no text in it. What have I done wrong?
Second question:
How can I reorder my entries. I have two buttons with "Up" and "Down". So that the selected item can be moved in the list upd and down.
Thanks Flo
I have ListView in "detailsView" Mode with two columns.
Now I want to add Entries to this list.
Dim
lvItem1
As
New
ListViewDataItem()
lvItem1.Item(0) =
"CL1"
lvItem1.Item(1) =
"1000"
lvItem1.Tag =
New
clsFoundationPlane(
"CL1"
, 1000)
Me
.lvHorValues.Items.Add(lvItem1)
Dim
lvItem2
As
New
ListViewDataItem()
lvItem2.Item(0) =
"CL2"
lvItem2.Item(1) =
"2000"
lvItem2.Tag =
New
clsFoundationPlane(
"CL2"
, 2000)
Me
.lvHorValues.Items.Add(lvItem2)
Now I have two lines in my ListView but with no text in it. What have I done wrong?
Second question:
How can I reorder my entries. I have two buttons with "Up" and "Down". So that the selected item can be moved in the list upd and down.
Thanks Flo