On Oct 3, 2006, at 4:29 PM, Arnaud Nicolet wrote:

Instead of using the MouseDown event, can't you use the CellClick event? It acts like a mouse down event, but is called only when you click on a cell (i.e not on the scrollbar).

Or I didn't understand the question?

I don't believe I can do dragging from the CellClick handler.

Which drag? A drag reorder or a drag using the DragItem class?
If you're using the dragItem class, I don't see any problem.

Whoa. You've just shaken my world. I had always assumed that CellClick fired on MouseUp. What an absurd name! Now I've got to rewrite a whole bunch of ListBox code...

Not that it's relevant to me right now, but this would seem to leave us with a different problem: how to do something on an actual click (ie on mouseup in a cell). I could implement that with MouseDown and MouseUp, but it's crazy that there is a straightforward way to trap mouse down in a cell but not, apparently, mouse up.

Or am I missing something?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to