itemDragMove() Auto calls?


#1

Is it possible to have repeated auto calls of “itemDragMove” when the mouse is not moving?

Or maybe a way to repaint a component while doing a while(1) inside the itemDragMove call?

Thanks for any help.


#2

Never mind, I will just create a new thread, and check if the mouse is still at the same position every 100 ms and that should do it.

:oops:

Of to understand now how the Thread class works. :wink:

Wk


#3

use a Timer instead of a thread


#4

Ah, yes, thanks, it should work better as I wouldn’t have to worry about some things. Thanks again.

Wk