Hi Romeo,

Thanks so much for your support, but in my situation i could not apply your
idea :). But i have found solution for this problem, by using getChildren()
function i can get the widget i want.

Thanks
Khoa Tran

2013/1/9 Romeo Kenfack Tsakem <romeo.kenfacktsa...@1und1.de>

> Hi Khoa,****
>
> ** **
>
> The best possibility  to achieve this is to declare the Previous and Next
> Buttons as members of your views.****
>
> You will then be able to access them from your views like this:
> selectedPage.PeviousButton/ selectedPage.NextButton.****
>
> ** **
>
> Regards,****
>
> Romeo****
>
> ** **
>
> *Von:* Đăng Khoa Trần Quang [mailto:tqdangkhoa...@gmail.com]
> *Gesendet:* Mittwoch, 9. Januar 2013 12:22
> *An:* qooxdoo Development
> *Betreff:* [qooxdoo-devel] How to get child control from tab page ?****
>
> ** **
>
> Hi Qooxdoo team,****
>
> ** **
>
> I have implemented a tab view with three tab pages inside as photo below :
> ****
>
> [image: Hình ảnh nội tuyến 1]****
>
> ** **
>
> Until now i can get the current tab page but i don't know how to get the
> child widget inside the tab page. In this situation i want to get the
> Previous and Next button in order to enable/disable them. Would you please
> show me how to get the these buttons ?****
>
> ** **
>
> The code snippet below is to get the current tab page:****
>
> *var selectedPage = this._tabView.getSelection()[0];*****
>
> *var pageTitle = selectedPage.getLabel();                           *****
>
> *var pageIdx = this._tabView.indexOf(selectedPage); *****
>
> ** **
>
> *// I need to get child widget (Previous and Next button) with
> selectedPage i got above*****
>
> // *and then i can manipulate with them (enable/disable)*****
>
> ** **
>
> Thanks****
>
> Khoa Tran****
>
>
> ------------------------------------------------------------------------------
> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
> and much more. Keep your Java skills current with LearnJavaNow -
> 200+ hours of step-by-step video tutorials by Java experts.
> SALE $49.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122612
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

<<image001.png>>

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to