Im trying to wiggle a canvas like a wrong password does. I set up a timer on the same window as the canvas and in the paint event i test for the error condition and if present i set the timer.enabled=true
I would just in the paint:
for i as integer = 1 to 2
g.drawpicture p,20,0,g.width,g.height, 0,0,p.width,p.height
//wait 250 (or so)
g.drawpicture p,0,0,g.width,g.height, 0,0,p.width,p.height
next
but how do you pass g? i set it to a property and the timer action seems to nil out the g and or p? Im not seeing how to access the graphics in the canvas. this has to be overlooking something really obvious