realbasic-nug
[Top] [All Lists]

Re: Canvas flash

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Canvas flash
From: Will Leshner <leshner at ljug dot com>
Date: Sun, 30 Mar 2003 14:57:26 -0800
Do you redraw with Refresh? That will flash under OS 9 as you have seen. What you do instead is draw everything to a picture and then draw the picture to the screen. And you don't want to use Refresh at all. You need a separate Draw method that draws the picture. The picture itself will most likely be a property of your Canvas subclass. You call your Draw method in the Paint event and you also call it when you want to redraw the Canvas at other times.

On Sunday, March 30, 2003, at 02:33 PM, Martin Fitzgibbons wrote:

This is not noticeable in OSX but in Win and PPC it produces an annoying screen flash.

How do I go about reducing this?



---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>

Subscribe to the digest: <mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.


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