realbasic-nug
[Top] [All Lists]

Re: PagePanel Frustrations

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: PagePanel Frustrations
From: Dave Wooldridge <electric dot butterfly at mac dot com>
Date: Fri, 28 Sep 2007 23:32:42 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AcgCYomuyDoPBm5VEdyW3QAX8sY6GA==
Thread-topic: PagePanel Frustrations
on 9/28/07 4:42 PM, Tim Jones wrote:

> Dave Wooldridge wrote:
>> Anyone have any experience working around this PagePanel issue by using
>> Containers?  Or some other solution?
> 
> Hi Dave - Use the PasteBoard!
> I have an app that has a number of pagepanels nested into tabpanels on a
> pagepanel.  To keep this hound at bay, I place the bottom level
> pagepanels onto the pasteboard during design phase and then position
> them in code during runs and in the built app.  This way, the lowest
> level pagepanels act a bit like Container Controls, but code like
> pagepanels.
> Since I did this back in 5.4, I've not had the problem of the scrambled
> controls hit again.


Thanks for that suggestion, Tim.  As it turns out, earlier this afternoon, I
grouped the controls from each PagePanel page into their own Container
Control, so that each PagePanel page now only has one Container Control
assigned to it.  This way if the controls ever scramble again, all I have to
do to fix it is drag each Container Control off the Page Panel (onto the
Pasteboard) and then drag them back on the PagePanel to auto-reassign the
correct parent-child relationship.  It will save me a TON of time in the
future, since I'll no longer have to fix dozens of controls individually,
but now only manage 3 Container Controls with the 3-page PagePanel.  I
tested it by resizing the window in the IDE to force the control scramble
bug to occur, and then easily re-assigned the Container Controls to the
PagePanel to fix it, and it worked beautifully.   :-)

Regards,
Dave Wooldridge
Electric Butterfly
http://www.ebutterfly.com

-------------------------------------



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