Scrolling through the tabs.....

Hai All…

I created a form having a tab control and a button to scroll through the tab pages.

In the button click event, I put something similar to the following code

tabIdx = Tab.tab() + 1 ;

if (tabIdx <= Tab.tabs())
{
Tab.tab(tabIdx);
}

It’s perfectly working in the debug mode, but when I run this its go to the next tab page and suddenly came back to the previous.

Can anyone help me about this problem?

Thanks.

Can you show your whole code here…

Bcoz your code is perfect for your task…

Thank you Mohd for your reply…

When I set Show Tab property of Tab control is No, then its working fine.

I don’t know why this happend.