It always worked for me... but you're probably right. I only care
for windows.
In that case you should just draw directly to the canvas when you need to
update and in the paint event.
Maarten
On 30/06/06, joe at strout dot net <joe at strout dot net> wrote:
On Jun 30, 2006, at 16:22 UTC, Maarten de Vries wrote:
> You should call refresh, like I said. But you shouldn't call "
canvas.refresh",
> but "Canvas.Refresh FALSE". Try it.. you'll see it works
Maarten, I think you're just confusing him. These new-fangled approaches
of passing False to the Refresh method, or unchecking EraseBackground on the
Canvas, may work in some cases, but they're not necessary. The tried and
true approach of simply drawing to the canvas graphics, without calling
Refresh at all, is cleaner and works reliably on any version of RB, running
on any OS.
Best,
- Joe
--
Joe Strout -- joe at strout dot net
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>
_______________________________________________
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>
|