I want to use Drag and Drop to remove items from a List box - i.e. click on
an item and drag it out of the application.  I have written the delete
function to trigger on the DragEnd event however it seems that this event
occurs even if you just click on the list box. I.e. DragEnd event seems to
coincide with the Mouse UpClick event.

 

The only way I can see around this is to check the position of the mouse and
execute the code when the mouse is outside the application - Is this correct
or is there another approach?

 

JohnB

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to