I am Having the small doubt on tab-widget.

* How i can get the position of tab widget dynamically?
* Assume that there are of 20 tabs,when i clicked on the 10 tab i need to display the position of that tab.