How do I get the paint event to fire without canvas1.refresh? When I remove the refresh statements the canvas doesn't update. (

I did it in my application, where a mousedown on the canvas creates a new picture. This is drawn onto the canvas graphics in the paint event. When I remove canvas1.refresh from the end of the mousedown event, the canvas doesn't update.

If by "refresh" you mean just plain "refresh" or "self.refresh", I'm not doing that, but I'm still getting flicker. I'll try implementing your example (after I get out of work) to see if I see flicker.

John Kubie

On Jun 30, 2006, at 11:49 AM, [EMAIL PROTECTED] wrote:

There are many, and it's trivial to make such. As others have pointed out, you simply need to avoid calling Refresh; draw directly into the canvas.graphics instead, without erasing.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to