On Jun 30, 2006, at 15:36 UTC, John Kubie wrote:

> The flicker I am seeing is unacceptable. As I said before, I would  
> love to see an example of a simple, flicker-free project.

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.

If you want an example, drag two pictures into a canvas, and throw on a 
checkbox with this code:

  if me.Value then
    Canvas1.graphics.DrawPicture picture1, 0, 0
  else
    Canvas1.graphics.DrawPicture picture2, 0, 0
  end if

This will swap pictures on every click with no flicker, even on 
non-double-buffered systems like Windows.

Best,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
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