|
-
August 15th, 2001, 04:54 PM
#1
Listview control
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
-
August 16th, 2001, 01:50 AM
#2
Re: Listview control
Change the focus from the list view
-
August 16th, 2001, 04:05 AM
#3
Re: Listview control
Try this
Set ListView.SelectedItem=Nothing
-
August 16th, 2001, 11:46 AM
#4
Re: Listview control
Hi Raghu,
That is not working.
Any other suggestion?
Thanks
Anita
-
August 16th, 2001, 11:47 AM
#5
Re: Listview control
Hi Greenu,
That is not working.
Any other suggestion?
Thanks
Anita
-
August 16th, 2001, 12:39 PM
#6
Re: Listview control
Add the following code in Form_Load, just after you added all listitems into the listview.
========
ListView.SelectedItem.Selected = False
=========
Regards,
Michi
-
August 16th, 2001, 03:43 PM
#7
Re: Listview control
Perfect!!!!
Thanks,
Anita
-
August 16th, 2001, 11:17 PM
#8
Re: Listview control
please check the option hide selection in the properties of the list view.Then try changing the focus
-
August 16th, 2001, 11:27 PM
#9
Re: Listview control
The option given by Michi works good ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|