on 09-10-2012 6:43 AM
Hi experts,
can you please any one suggest me how to set the default tab in tabstrip?
i already set the property selected tab to ADDRESS ,
but it comes as default only for the first visiblity of the view ,
if i select another tab and the go back to the previous screen and coms to same screen the visible tab is recently selected tab.
but i want to set the ADDRESS tab as default for each and every time .
is it possible?
if so please suggest me how?
thanks in advance..
Hi Vasantha,
Yes it is Possible to set a Tab in a Tabstip as a default tab. Please check the property SELECTEDTAB. Try to set it with the tabevent id which u want to show as default tab.
For Eg: Create another attribute of type string. Bind it to the property of TabStip - Selectedtab. it will give us the currently selected tab id.
you just set the attribute which we created and binded to Selected tab property as the first tab i.e the tab which you want to show as default tab.
Thanks & Regards
Arun.K.P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i already done the same as u suggested.
whats the issue is in the same transaction for the first time i am getting the desired default tab then i click on some other tab and move to next and come back to the same screen that time the latest clicked tab gets visible .but i want the default tab for every vision of that screen.
Hi,
create the attribute in the context for ex sel_tab.
then set the selected tab property of the tabstripe to the attribute sel_tab.
then based on the action suppose by the button click you want to display the tabstripe
in that button action set the attribute sel_tab with the value as ID name of the tab which you want to set.
if you want to display tabstripe in the initial screen itself set the sel_tab value in the WDDOINIT method..
Regards,
Vasantha D.
Bind the selected tab property of tab strip and set the value accodingly
Thanks
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.