Hey,
I guess that because of the async rendering of the pages (and everything else 
in qooxdoo). Either try to flush the queue manager or wrap your selection call 
into a timeout. I guess that should work.
Regards,
Martin

Am 25.01.2011 um 23:36 schrieb [email protected]:

> Hello,
> 
> i try this at the end of the code but the tab/page isnt selected:(
> 
> 
> objModule.setSelection([page]);
> 
> 
>> i create a tabview and add some pages, but i want that always the alst
>> added page is   active7focused after this page is added
>> 
>> 
>>                 var page = new qx.ui.tabview.Page("Kasse",
>> "icon/16/apps/utilities-terminal.png");
>>                 page.setLayout(new qx.ui.layout.Grow());
>>                 page.setShowCloseButton(true);
>>                 var objModule = new makebiz.modules.kasse.Main;
>>                 page.add(objModule.getBaseLayout());
>> 
>>                 aw.system.Globals.tabMiddleLeft.add(page);
>> 
>> 
>> i try something like
>> 
>>     aw.system.Globals.tabMiddleLeft.setSelection(page);
>> 
>> but that  isnt the   solution
>> 
>> How can i focus it?
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> 
>> 
>> 
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
> February 28th, so secure your free ArcSight Logger TODAY! 
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to