G
Guest
I have a Windows app (.net v1.1) and I am dragging from a list box.
The first drag works fine, but all subsequent drags continue to pull the
first item that was dragged. It appears that MouseDown does not cause the
SelectedItem to change (even though the highlighted item changes).
So, if I click down on a non-highlighted item and drag it off the list box,
the new item looks selected, but is not really the SelectedItem. I see that
the SelectedItem is only changed on MouseUp, which never happens because I
dragged off of the list box.
Is there something I can put in mouse down to select the new item? This
would make SelectedItem act like the highlighting does, which would make more
sense and fix the issue with dragging.
Thank you for your assistance,
Mark Lauser
The first drag works fine, but all subsequent drags continue to pull the
first item that was dragged. It appears that MouseDown does not cause the
SelectedItem to change (even though the highlighted item changes).
So, if I click down on a non-highlighted item and drag it off the list box,
the new item looks selected, but is not really the SelectedItem. I see that
the SelectedItem is only changed on MouseUp, which never happens because I
dragged off of the list box.
Is there something I can put in mouse down to select the new item? This
would make SelectedItem act like the highlighting does, which would make more
sense and fix the issue with dragging.
Thank you for your assistance,
Mark Lauser