B
Boni
Dear all,
A mouse click on some object in my application should select this object,
where mouse down should start moving until mouse up.
But, when I press mouse down small move always happens. I tried to work with
move tolerance, but then if mouse was near the border of the object, it
leaves object and next mouse move is not passed to it. So I am thinking to
work with timer. I.e.
if MouseDown and NoMouseUpFor1second then move else ignore.
Is it a best solution or somebody has a better idea for this standard
problem?
With best regards,
Boni
A mouse click on some object in my application should select this object,
where mouse down should start moving until mouse up.
But, when I press mouse down small move always happens. I tried to work with
move tolerance, but then if mouse was near the border of the object, it
leaves object and next mouse move is not passed to it. So I am thinking to
work with timer. I.e.
if MouseDown and NoMouseUpFor1second then move else ignore.
Is it a best solution or somebody has a better idea for this standard
problem?
With best regards,
Boni