In a message regarding Re: canvas flicker on windows builds dated Fri, 30
Jun 2006 12:04:50 -0400, John Kubie said that ...
> How do I get the paint event to fire without canvas1.refresh? When I
> remove the refresh statements the canvas doesn't update. (
You don't cause a refresh at all.
You draw to the graphics object. The paint event just catches the case
where the OS wants a refresh.
see sample code
<http://rb.sgarman.net/picswap/>
--
Steve Garman
Using REALbasic 2006r2 Professional on Windows XP Pro
_______________________________________________
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>
|