|
-
Dec 17th, 2002, 07:01 PM
#1
Thread Starter
Frenzied Member
Lassooing files in listview
What does a dotted line round a listview item mean? Does it mean its selected? Im still struggling to find out why i get a row selected that i didnt lasso aswell as the lossooed items. it always seems to include the item with the dotted line around it in all my selections and i cant seem to turn it off, even when i set everything to selected=false first.
There are 3 types of people in this world.........those that can count, and those that can't.
Blobby
-
Dec 17th, 2002, 08:16 PM
#2
Registered User
Could you either post your code or zip your project and post it.
-
Dec 17th, 2002, 09:33 PM
#3
Try this...
VB Code:
Private Sub ListView1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
If ListView1.HitTest(x, y) Is Nothing Then
Set ListView1.SelectedItem = Nothing
End If
End Sub
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Dec 18th, 2002, 08:06 AM
#4
Thread Starter
Frenzied Member
Thanks Crptcblade but no joy. As soon as the items are removed from the listview (so the listview is empty), the lasso tool is permanently on! I can move the mouse without clicking a button and the lasso just draws a rectangle wherever i am. I have to click the mouse to turn it off. There must be a command to cancel the lasso but i dont know what it is?
There are 3 types of people in this world.........those that can count, and those that can't.
Blobby
-
Dec 18th, 2002, 10:26 AM
#5
Addicted Member
Hey,
Sorry to ask this here, but what is the lasso tool, how does one implement it?
JS
Disclaimer:
* The preceding message was in no means meant to be critical, mean spirited, insincere, or facetious.
Disclaimer for disclaimer:
The preceding disclaimer may in fact be facetious in nature.
Thanks,
Jim
-
Dec 18th, 2002, 10:35 AM
#6
Thread Starter
Frenzied Member
The lasso is what you get in Windows Explorer when you click outside a row and drag the mouse down to create a box around the items you want selected (click and hold mouse then drag).
It is automatic when u set the property MultiSelect=true on say a listview
There are 3 types of people in this world.........those that can count, and those that can't.
Blobby
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
|