I have some problem with Listview on WinForm.
I'am trying to make an ListView Subitem like a hyperlink, so i using this code:
but the fore color doesn't change to Blue and the Error list say Property Underline is ReadOnly.
And how can i detect the event when clicked on a listview subitem ?
Thank you.
I'am trying to make an ListView Subitem like a hyperlink, so i using this code:
Dim lvItem As ListViewItem
lvItem = frmMain.Items.Add("ListViewItem1")
lvItem.ImageKey = "Graph1"
lvItem.SubItems.Add("http://microsoft.com")
lvItem.SubItems(1).ForeColor = Color.Blue ' Doesn't work
lvItem.SubItems(1).Font.Underline = True ' Error : Property 'Underline' is 'ReadOnly'
but the fore color doesn't change to Blue and the Error list say Property Underline is ReadOnly.
And how can i detect the event when clicked on a listview subitem ?
Thank you.