realbasic-nug
[Top] [All Lists]

Re: Scrolling in One Canvas That Overlaps Another Canvas

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Scrolling in One Canvas That Overlaps Another Canvas
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Mon, 31 Jan 2005 21:26:45 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050131191556 dot 084403 dot 03c83de2 at earthlink dot net>
At 7:15 PM -0800 1/31/05, Gary Kobliska wrote:

I have a project with two canvases of the same size (512x512), Canvas1
and Canvas2, which is also the control order.  What I want to do is to
scroll an icon (picture) in Canvas2 over the background of Canvas1
(canvases overlap) in response to the user performing a MouseDrag.

Oi!  That's going to be very difficult.

I have already achieved this effect by simply using drawPicture in a
single canvas (as opposed to actual scrolling), but I am trying to use
the Canvas control's Scroll method for speed.

Why do you imagine it would be even faster, if it could even work (which I can't imagine it would)? I recommend going back to your DrawPicture approach.

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
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>

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