I'm using sheridan's treeview control which is supposed to be compatible with the one that comes with VB6. When I expand nodes or click on nodes it was invoking the drag event and moving nodes sometimes if I didn't keep the mouse still. I fixed it with a 500ms timer event which starts in the mouse down event and is checked for in the dragdrop event. If 500ms has not passed no drag is allowed. Is the this the normal/best way to solve this problem? Is the 500ms time what most experienced programmers would use? Do most people have this problem, or is it just me?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.