[Gambas-user] Correct way to .Refresh a DrawingArea with Paint?

martin p cristia tercoide at hotmail.com
Sun Apr 26 23:23:01 CEST 2020


I have a drawing area with things that move with MouseMove coordinates.

It is with a timer? like:

Public Sub tmrTick_Timer()'at 33Hz

daPlanta1.Refresh  ' here?

End

or

Public Sub daPlanta1_MouseMove()

NewX = Mouse.X' used to change things
NewY = Mouse.Y
daPlanta1.Refresh  ' or here?

End

Also, what happens when I draw a lot of things and .Refresh is called 
BEFORE the _Draw event finished?


-- 
Saludos

Ing. Martin P Cristia



More information about the User mailing list