realbasic-nug
[Top] [All Lists]

Canvas extent

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Canvas extent
From: Roph <Roph at kc dot rr dot com>
Date: Tue, 29 Nov 2005 23:20:39 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AcX1a5Rm0qvCqmFeEdqe/AANk0o3JgAAjijM
Thread-topic: Canvas extent
 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?

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?

Or does only the portion of the EditField within the bounds of the canvas
get displayed?

Or is the actual size of the canvas important for display of the canvas
background and such, but essentially irrelevant to the scrolling of controls
that have the Canvas as it's parent, and only of consequence for changing
the position of the child controls when the canvas is scrolled?



_______________________________________________
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>