?
=?iso-8859-1?B?Qmr2cm4=?=
Hallo together,
I use the Listview in .NET CF under Visual Studio .NET 2003.
I am adding the LV Items like this at the runtime:
locLVItem = New ListViewItem
locLVItem.Text = "XYZ"
locLVItem.SubItems.Add("XY")
PubFrmMain.LView.Items.Add(locLVItem)
The problem is that the Listview provides an Click Event but it will never be started. Is the Click Event not usable in .NET CF?
The SelectedIndexChanged Event I cannot use because the event will be fired before the Item is focused and so I cannot find the Focused item in this event:
If CType(sender, ListView).Focused = True Then
PubLVClickIndex = CType(sender, ListView).FocusedItem.Index
End If
Can anybody help me?
Greetings BG
I use the Listview in .NET CF under Visual Studio .NET 2003.
I am adding the LV Items like this at the runtime:
locLVItem = New ListViewItem
locLVItem.Text = "XYZ"
locLVItem.SubItems.Add("XY")
PubFrmMain.LView.Items.Add(locLVItem)
The problem is that the Listview provides an Click Event but it will never be started. Is the Click Event not usable in .NET CF?
The SelectedIndexChanged Event I cannot use because the event will be fired before the Item is focused and so I cannot find the Focused item in this event:
If CType(sender, ListView).Focused = True Then
PubLVClickIndex = CType(sender, ListView).FocusedItem.Index
End If
Can anybody help me?
Greetings BG