<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

It is with a timer? like:<br>
<br>
Public Sub tmrTick_Timer()'at 33Hz<br>
<br>
daPlanta1.Refresh  ' here?<br>
<br>
End<br>
<br>
or<br>
<br>
Public Sub daPlanta1_MouseMove()<br>
<br>
NewX = Mouse.X' used to change things<br>
NewY = Mouse.Y<br>
daPlanta1.Refresh  ' or here?<br>
<br>
End<br></blockquote><div><br></div><div>Either one should work, but the latter can cause a lot of extra calls. Maybe enable the timer on mouse move event for optimal CPU usage.<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Also, what happens when I draw a lot of things and .Refresh is called <br>
BEFORE the _Draw event finished?<br></blockquote><div><br></div><div>I don't think that can happen. Unless you do something wrong like put wait command in the event.<br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Jussi<br></div></div>