realbasic-nug
[Top] [All Lists]

Re: Problem with container controls - workaround

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Problem with container controls - workaround
From: Stefan <seaside dot ki at mac dot com>
Date: Wed, 1 Aug 2007 01:20:25 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <44DB2614-4B41-4D64-B4CC-3D215BB2C81B at mac dot com> <ECD07F6D-DF4A-4DF3-81F0-8884C2DC9F07 at mac dot com> <08B0AD4F-5EC4-48B1-BE03-A08EC7FEB24D at tolisgroup dot com> <E66A6226-08DD-42B1-80AD-6BEE8800CD57 at mac dot com>
Seems to work on XP too.

Am 01.08.2007 um 00:32 schrieb Stefan:

> Here is what seems to work for horizontally non-resizable containers
> attached
> to the right of a window:
>
> - Instantiate the super container statically
> - Keep a property in the super  container named 'initialLeft'
> - Set initialLeft using the Open() to the GUI's initial left  
> coordinate
> - Instantiate the local containers (currentContainerView) of the
> super container using         
>
>       currentContainerView.EmbedWithin( Me, Me.Left-initialLeft,  
> borderTop )
>
> [Ordinarily, you would expect to pass e.g. 0 as the left coordinate]
>
> Seems to work for a 2 level container-container hierarchy on OS X for
> 2007R2.
>
> (in my case, I show and hide the right attached container)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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