Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to set First tab page in the tabstrip control

Former Member
0 Kudos
135

If I have 10 tabs . I make basic data view's tab as activetab but while appearing on the screen basic data tab does not appear to be the first tab how to set it as first tab

i have declared my tabstrip as follows

CONTROLS : material_tabstrip TYPE TABSTRIP.

we set active tab as material_tabstrip-activetab = 1

on similar lines I would like to know how to set First tab page in the tabstrip control ?

3 REPLIES 3

Former Member
0 Kudos
43

Hi,

i believe that u had assigned some fcode to every tab like 'tab1' 'tab2' .................'tab10'.

so,

pls write

material_tabstrip-activetab = 'tab1'.

in PAI 

module user_command input.

case ok_code.

when 'tab1' or 'tab2' or 'tab3' .......

material_tabstrip-activetab = ok_code.
endcase.

regards

ravi aswani

0 Kudos
43

Dear

Please read my question properly.

I want to know how to set tab as first page and not how to set tab as activetab

Regards

Mahesh,

Former Member
0 Kudos
43

I found the solution hence closing the thread