Hi,
I'm using listview control on my form.
But by default it is selecting first element.
When user selectes the item then only it has to select item.
I checked with
ListView.ListItems(I).Selected = True
How to solve this
Thanks,
Anita
Printable View
Hi,
I'm using listview control on my form.
But by default it is selecting first element.
When user selectes the item then only it has to select item.
I checked with
ListView.ListItems(I).Selected = True
How to solve this
Thanks,
Anita
Change the focus from the list view
Try this
Set ListView.SelectedItem=Nothing
Hi Raghu,
That is not working.
Any other suggestion?
Thanks
Anita
Hi Greenu,
That is not working.
Any other suggestion?
Thanks
Anita
Add the following code in Form_Load, just after you added all listitems into the listview.
========
ListView.SelectedItem.Selected = False
=========
Regards,
Michi
Perfect!!!!
Thanks,
Anita
please check the option hide selection in the properties of the list view.Then try changing the focus
The option given by Michi works good ...