on 6/30/06 8:29 AM, John Kubie at [EMAIL PROTECTED] wrote:

> I've worked on several applications where I've had images be drawn on
> a canvas in which, in the windows build, the canvas 'flashes' briefly
> when the images changes. This is distracting and incorrect behavior,
> but I've never been able to eliminate it. I've recently been working
> on a simple application that suffers from the same problem. If I
> recall correctly, suggestions for fixing this have been to build the
> image in a picture off canvas and display it all at once. Doing this
> doesn't help.
> 
> My impression is that the problem is an interaction between canvas
> drawing and the screen refresh rate of the display, but that is a
> guess. The problem is irregular in that, if I make a picture display
> on a canvas when I click on the canvas, the flash (or flicker)
> doesn't occur with every click and isn't always identical.
> 
> Again, any suggestions are appreciated.
> 
> This seems like something that REALbasic should be fixing.

Have you tried setting the Canvas.EraseBackground property to false.  The
flicker you are seeing if the canvas being erased prior to the new image
being drawn.

The big difference between drawing on Mac and Windows has to do with the OS.
On Mac all windows are double-buffered and the OS throttles copies from the
backing store to the screen to avoid flicker.  On Windows you have to look
after everything yourself.

Chris


_______________________________________________
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