A
Ash Phillips
Hi, in VB6, I could use PopupMenu() to display a menu on a control such as a
list view.
I have tried setting a Context Menu to a List View in VB.NET but I can't
seem to get
the same functionality that I had and need like in VB6.
Basically, I just want to disable menu items in the context menu if there is
no item in the List View selected.
Also, on the subject, in VB6 there was lvwListView.ListItems.SelectedItem -
I see "SelectedItems" in VB.NET and it doesn't seem to work at all?
Like I need things to be disabled when nothing is selected and I need things
to work with only one item selected.
Thanks in advance
Ash
list view.
I have tried setting a Context Menu to a List View in VB.NET but I can't
seem to get
the same functionality that I had and need like in VB6.
Basically, I just want to disable menu items in the context menu if there is
no item in the List View selected.
Also, on the subject, in VB6 there was lvwListView.ListItems.SelectedItem -
I see "SelectedItems" in VB.NET and it doesn't seem to work at all?
Like I need things to be disabled when nothing is selected and I need things
to work with only one item selected.
Thanks in advance
Ash