Delphi 7 :: TListView on ItemSelect mouse drag cursor
Posted on 2006-11-04
I have a TListView which have several items in.
OnSelectItem event I make calls to a procedure which in return calls 2 other procedures
to run the relevant process for the selected item.
The TListView.DragMode = dmAutomatic.
I do call Application.ProcessMessages where any loops etc occur.
The problem is when selecting an Item and the process are a bit lengthy (not much) then when
releasing the mouse (normal single click) the cursor turns to the drag&drop cursor. Although I did not press and hold the mouse.
When I press and hold the mouse button down for while and then releasing then the problem
do not occur.
Any suggestion on how to solve this?