SetCurrentTab

 

 

We find our via the familiar method, then have it call . After that, we get a via , supplying a tag whose purpose is unknown at this time. Given the spec, you call and , then call back on the to register the tab as available for use. Finally, you can choose which tab is the one to show via , providing the 0‑based index of the tab.

The results can be seen in Figures 10‑5 and 10‑6.

Figure 10‑5. The TabDemo sample application, showing the first tab

Figure 10‑6. The same application, showing the second tab

 








Дата добавления: 2015-05-16; просмотров: 612;


Поиск по сайту:

При помощи поиска вы сможете найти нужную вам информацию.

Поделитесь с друзьями:

Если вам перенёс пользу информационный материал, или помог в учебе – поделитесь этим сайтом с друзьями и знакомыми.
helpiks.org - Хелпикс.Орг - 2014-2024 год. Материал сайта представляется для ознакомительного и учебного использования. | Поддержка
Генерация страницы за: 0.005 сек.