thierryg
01-09-2011 16:33:47
First, thanks a lot for MyGUI ! I must say I'm really happy to use it in my little project, and I'm really amazed by the stability of this library.
I would like to select automatically a tab when I launch my application.
I do this with :
mGUI->findWidget<MyGUI::TabControl>("Page04")->setIndexSelected(4);
and it works well.
My problem is that I would like to show the right selected button at the top, in order to show to the user what tab is selected.
In this example, I can't see the 4th button, because it's outside of the tab window. The user must use the arrows to display it, and so he's lost because the button he can see don't show the name of the selected Tab.
Is there a way to show this button, maybe setting the scroll position of the tab buttons in order to show the right button ?
Thanks in advance,
T.
I would like to select automatically a tab when I launch my application.
I do this with :
mGUI->findWidget<MyGUI::TabControl>("Page04")->setIndexSelected(4);
and it works well.
My problem is that I would like to show the right selected button at the top, in order to show to the user what tab is selected.
In this example, I can't see the 4th button, because it's outside of the tab window. The user must use the arrows to display it, and so he's lost because the button he can see don't show the name of the selected Tab.
Is there a way to show this button, maybe setting the scroll position of the tab buttons in order to show the right button ?
Thanks in advance,
T.