[DUG] Order of mouse events

Keith Allpress kaller at ihug.co.nz
Wed Jan 10 16:50:37 NZDT 2007


I want to be able to either click or drag a component without using the 
shift key.
It looks like I have to set the drag mode immediate to false, but this 
doesnt seem to follow through
because I found that an enddrag is still fired if the user just clicks 
instead of drags. That almost seems like a bug?
So I hooked the mouseleave event for my component and set a "Dragged" 
variable as a flag,
but it seems kind of hacky. Or maybe not. Accolades or brickbats?
Keith



More information about the Delphi mailing list