realbasic-nug
[Top] [All Lists]

Re: Canvas extent

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Canvas extent
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Wed, 30 Nov 2005 08:20:15 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <BFB292C7 dot 5B73%Roph at kc dot rr dot com>
At 11:20 PM -0600 11/29/05, Roph wrote:

 Is it necessary to have a canvas width and height that is actually big
enough to contain all of the controls placed on the canvas?

No.

What happens if you scroll a canvas that has say an EditField declaring the
Canvas as its parent, but got positioned such that only half of the
EditField is actually contained within the canvas boundary?

Does such a situation cause the EditField to lose the Canvas as its parent
-- say if this were done programatically with a new indexed control rather
than in the IDE?

Not if you manually set the parent to be the Canvas.

Best,
- Joe

--
Joe Strout                          REAL Software, Inc.

Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
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>