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 00:32:09 +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>
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)

Am 31.07.2007 um 23:26 schrieb Tim Jones:

> On Jul 31, 2007, at 1:19 PM, Stefan wrote:
>
>> No one?
>
> Hi Stefan,
>
> Check out:
>
> http://realsoftware.com/feedback/xxlzfmiv
>
> I think that's what you're seeing.
>
> Tim
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

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