> I have a form listview and have used the MouseDown event to launch a
> modal dialog if a particular cell is clicked.
[quoted text clipped - 5 lines]
> What is the best way to prevent this, or invoke the MouseUp event once
> the dialog has closed.
The answer is to not invoke the dialog on the MouseDown event. Doing so
is non-standard UI anyway, and creates the situation you're seeing in
which the same user action that would normally be interpreted as
mouse-dragging is being overloaded with the dialog invocation as well.
Instead, use MouseUp for knowing when to show the dialog.
Pete
charlieopenshaw@gmail.com - 09 Jul 2007 22:12 GMT
Peter,
Thanks - worked a treat.
Charlie
> > I have a form listview and have used the MouseDown event to launch a
> > modal dialog if a particular cell is clicked.
[quoted text clipped - 14 lines]
>
> Pete