Nested Tabpanels are indeed annoying. REALbasic 2006 supports them
somewhat... but if you're not careful, you will end up screwing up
everything related to the subpanel and its child controls (especially if you
add a child control to the parent panel, or reorder anything).

If you can stand the mess, then something you can do is to put the sub-panel
off of the main window (and thus, off of the main panel). Then when you want
to bring the panel into view (eg, the parent's panel's value has changed to
a value that is supposed to have a sub-panel), then you programmiatically
move the subpanel onto the parent panel. You do this by changing the
subpanel's (and its childrens') .left and .top properties (and if necessary,
.width and .height). This will only work if your subpanel's (and its
childrens') control order is lower than your parent panel (that is, if your
parent panel's control order is 10, then your subpanel's control order must
be 11 or above, and likewise for its children).

I hope this helps.


On 6/21/06, All Out Lists <[EMAIL PROTECTED]> wrote:

I want to use nested TabPanels, but note that these are not
officially supported.  I figure there is a way (prolly multiple ways)
to get around this or to emulate this.  But I do have a few questions
that I have not yet been able to fund answers to.  First, let me
explain my set up:
        Mac OS X Tiger.6 on Mac Book Pro (thus Intel)
        This app WILL be a Mac Universal App (shipping in Summer 2007)

My questions:
1) Any opinions or statements about this ever being supported?
2) Best way to work around or best way to emulate?
        I am thinking Bevel Buttons switching out PagePanels or Some other
container. (Pardon my Noobness!)
3) (Pardon my lingo confusion here,) But I get that I can create my
own controls, if I do this with a tab panel and then drop this in a
TabPanel, is this playing in the unsupported area or is this
sufficiently abstracted to be different?
4) Any reasons to steer clear of tabpanels?  Any third party
alternatives worth considering?
5) Ideally, what I am seeking is a tab panel control with a built in
SUB tab panel.  An example of what this would look like can be seen
with the tabs across the top of Apple's website.  I am seeking to
have sub-pages under each page.  The visual implementation need not
be identical to Apple's though it must not look totally stupid in a
Mac app.  In fact, it must look as if it were a natural control.  (I
was this particular as a VB developer too, so lay off the Mac folk! :-))

Thanks in advance.  I am continuing my research.  This is frustrating
because my plan is to use RB for the Prototype of my app for the very
least, and this goofiness complicates this to the point of having me
have second thoughts.  I could prototype my Mac app in VB (Ack!) a
LOT easier, though set up would be a hassle and expensive.  I would
prefer to use RB and think this will be not too difficult to
surmount.  While prototyping, I am evaluating RB for the client
interface for my app.  I would like to do this.  I don't want to
learn Xcode.

Thanks,
Fred
--

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




--
Keith Bennett, tA-Kane
Software developer and Macintosh enthusiast

Free iPods!!!
http://www.freeiPods.com/?r=10867472
_______________________________________________
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>

Reply via email to