J
Jeff
Hello,
I have a List Box and have it set to Multi Select Simple.
When you click on an Item in the List Box it Highlights, which it should.
But if you click on an Item in the List Box and hold the Mouse Pointer down
& drag downwards, it Highlights what you initially clicked on but then the
Lsitbox.ListIndex takes on the number of the row that you dragged down to so
you cant track what actually got selected. How can I get around this ?
Is their a setting to stop the Click and drag ?
Is their a way to capture the ListIdex of the Item that was initially
selected before the drag ?
I tried on the OnClick Event, that dosent work it takes the ListIndex after
the Drag.
I tried on the MouseUp Event, that dosent work it takes the ListIndex after
the Drag.
I tried on the MouseDown Event, that dosent work as it takes the ListIndex
of the previously selected item.
I could get it to work if I use the Double click envent but then how would I
stop the row from highlighting if user does a single click.
Any help would be greatly appreciated.
Thank you,
Jeff
I have a List Box and have it set to Multi Select Simple.
When you click on an Item in the List Box it Highlights, which it should.
But if you click on an Item in the List Box and hold the Mouse Pointer down
& drag downwards, it Highlights what you initially clicked on but then the
Lsitbox.ListIndex takes on the number of the row that you dragged down to so
you cant track what actually got selected. How can I get around this ?
Is their a setting to stop the Click and drag ?
Is their a way to capture the ListIdex of the Item that was initially
selected before the drag ?
I tried on the OnClick Event, that dosent work it takes the ListIndex after
the Drag.
I tried on the MouseUp Event, that dosent work it takes the ListIndex after
the Drag.
I tried on the MouseDown Event, that dosent work as it takes the ListIndex
of the previously selected item.
I could get it to work if I use the Double click envent but then how would I
stop the row from highlighting if user does a single click.
Any help would be greatly appreciated.
Thank you,
Jeff