realbasic-nug
[Top] [All Lists]

Re: canvas flicker on windows builds

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: canvas flicker on windows builds
From: "Steve Garman" <realbasic at garman dot demon dot co dot uk>
Date: Fri, 30 Jun 2006 17:21:53 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
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>


<Prev in Thread] Current Thread [Next in Thread>