listview

F

Frank

Hi,
I have a listview (with detaillines), with fullrowselect. I want to prevent
the selection of more than 1 row. Is that possible? With some property of by
capturing some event?
Thanks
Frank
 
G

Gerry O'Brien [MVP]

Change the MultiSelect property to False in the property window or in code
use this line;

ListView1.MultiSelect = False
 
F

Frank

Thanks Gerry, I knew it should be something like that, but couldn't find the
property (there are so many).
Frank
 
G

Gerry O'Brien [MVP]

Yep, .NET is huge in more ways than one.

One big help I find is to use the MSDN help for the control you are working
with and then looking at the members section. That lays out all the
properties and methods.



--
Gerry O'Brien [MVP]
Visual Basic .NET(VB.NET)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top