realbasic-nug
[Top] [All Lists]

Re: Tab panels

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: Tab panels
From: Paul Rodman <paul at ilanga dot com>
Date: Tue, 28 Nov 2006 07:31:56 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20061128142038 dot 76B2416B4F05 at lists dot realsoftware dot com>
From: Michael <mdeh at comcast dot net>

May I ask a question about tab-panels.

If I wish to show identical controls ( eg list box, or push buttons) on two tabs of the same panel (eg, a list box that shows differerent lists), do I need to have a listbox in each Tab or is there a way of referring each tab to , for example, a list box, OR, (finally) put in controls in each tab and derive it from a common class?
Thanks in advance.

In theory you can have controls that are common to different tabs, by changing the controls' PanelIndex property to match the Tabpanel's Value property in the Tabpanel's Change event.

However, I recently discovered some bugs that prevent doing this, at least for Listboxes:

<http://www.realsoftware.com/feedback/viewreport.php?reportid=ofxdqhue>
<http://www.realsoftware.com/feedback/viewreport.php?reportid=qbgztevz>

Feel free to sign on :^) (and there's some simple sample code attached to the reports).

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


From  Tue 28 Nov 2006 10:38:20 -0500
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id 47CEB1251C38; Tue, 28 Nov 2006 07:38:58 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on www.realsoftware.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=4.5 tests=AWL,BAYES_00,NO_REAL_NAME autolearn=no version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
        by xmail.realsoftware.com (Postfix) with ESMTP id CB9CD1251C31;
        Tue, 28 Nov 2006 07:38:53 -0800 (PST)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id 42FDE16B5650; Tue, 28 Nov 2006 09:38:37 -0600 (CST)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from smtp-1.emich.edu (smtp-1.emich.edu [164.76.250.16])
        by lists.realsoftware.com (Postfix) with ESMTP id 054F116B5641
        for <realbasic-nug at lists dot realsoftware dot com>;
        Tue, 28 Nov 2006 09:38:30 -0600 (CST)
Received: from [164.76.167.242] (ip-167-242.emich.edu [164.76.167.242])
        by smtp-1.emich.edu (8.13.1/8.13.1) with ESMTP id kASFcN2b011814
        for <realbasic-nug at lists dot realsoftware dot com>;
        Tue, 28 Nov 2006 10:38:28 -0500
Mime-Version: 1.0 (Apple Message framework v752.3)
In-Reply-To: <200611280925 dot 12480 dot rb at flippingdades dot com>
References: <E87593AE-37B0-475C-85A3-F9EC01F6AD89 at comcast dot net>
        <CDD4F50F-CAB8-4881-A16A-140C771C146B at hit dot net>
        <97F1BC05-A604-463D-928F-5C283D2AF458 at comcast dot net>
        <200611280925 dot 12480 dot rb at flippingdades dot com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <0BAD4370-A305-4801-94A9-BA4971552FB0 at kellerfarm dot com>
Content-Transfer-Encoding: 7bit
From: andrew at kellerfarm dot com
Date: Tue, 28 Nov 2006 10:38:20 -0500
To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
X-Mailer: Apple Mail (2.752.3)
X-EMU-MailScanner-Information: Please contact the helpdesk at 734-487-2120 for
        more information
X-EMU-MailScanner: Found to be clean
X-EMU-MailScanner-SpamCheck: X-MailScanner-From: andrew at kellerfarm dot com
Subject: Re: Tab panels
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

On Nov 28, 2006, at 10:25 AM, D Jungk wrote:

In a quick test this works for me. Put "me.parent=nil" in the ListBox's open event. It will show on all tabs. If you need it on only some tabs, setting
"visible" to true or false should work.

Don Jungk

Same goes for "Me.PannelIndex"

And if the listbox is always on the bottom, check to make sure the ControlOrder of the ListBox is higher than that of theTabPannel... :)

Andrew Keller

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