realbasic-nug
[Top] [All Lists]

Re: redrawing in a canvas

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: redrawing in a canvas
From: Thomas Reed <tareed at bitjuggler dot com>
Date: Sun, 31 Oct 2004 06:44:25 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <55DA17E4-2AEB-11D9-9E96-000A95A9544A at shaw dot ca> <FB01A957-2AEB-11D9-8237-000A95983FBE at ljug dot com> <EB5320EA-2AEC-11D9-9E96-000A95A9544A at shaw dot ca> <ABCC951C-2AF9-11D9-937F-000A959DF1D2 at realsoftware dot com> <FB4CBBB1-2B16-11D9-8DAC-003065B8165A at supercable dot es>
On Oct 31, 2004, at 3:29 AM, Juan Salvatierra wrote:

Refresh will cause it erase the background, which is why that solves it.

I don't understand, why should refreshing solve it if you don't erase the first string before? I would have thought that what you needed is to erase the old string, then draw the new one -- no need of refreshing.

That's what refreshing does -- it erases, then redraws (by calling Paint).

-Thomas

Personal web page: <http://homepage.mac.com/thomasareed/> My shareware: <http://www.bitjuggler.com/> Free REALbasic code: <http://www.bitjuggler.com/extra/>

There are 10 kinds of people in the world -- those who understand binary
numbers and those who don't.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

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