Try something like that:

var tv = new qx.ui.tabview.TabView;
var page = new qx.ui.tabview.Page;
var pos = 1; // position where to add the page
tv.getChildControl("bar").getChildControl("content")._addAt(page.getButton(),pos);

Cheers,
Fritz

On Fri, 18 Mar 2011, Tino Butz wrote:

> Good one! Seems not to work out of the box. Please open an enhancement bug 
> bugzilla.qooxdoo.org.
>
> Try to add it before and exclude the button. Perhaps this would be a 
> workaround.
>
>
> Am 18.03.2011 um 16:51 schrieb Jagget:
>
>> Hello, Everyone!
>>
>> I'm new in QooxDoo, and i have a one very simple question.
>>
>> How can I add new Page in TabView, not in last position, but where I exactly
>> need it?
>>
>> Thx!!
>>
>> --
>> View this message in context: 
>> http://qooxdoo.678.n2.nabble.com/Question-about-TabView-tp6185063p6185063.html
>> Sent from the qooxdoo mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> Colocation vs. Managed Hosting
>> A question and answer guide to determining the best fit
>> for your organization - today and in the future.
>> http://p.sf.net/sfu/internap-sfd2d
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

-- 
Oetiker+Partner AG              tel: +41 62 775 99 03 (direct)
Fritz Zaucker                        +41 62 775 99 00 (switch board)
Aarweg 15                            +41 79 675 06 30 (mobile)
CH-4600 Olten                   fax: +41 62 775 99 05
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to