‎2009 May 27 9:40 AM
Hello frnds,
I have designed a Tabstrip (without using Table control wizard).. my problem is when i see my tabstrip screen on the main screen,, the second tab appears by default as selected,, i want first one to appear as the default thing,, can you plz suggest where might i be wrong,,
‎2009 May 27 9:42 AM
you might be given this type of code i pai,
for example
CASE ok_code.
WHEN 'PERDET'----
> Name of the Tabstrip Tab
OR 'RESSUM'
OR 'PRODET'
OR 'OTHSAP'
OR 'PROEXP'
OR 'GENINF'.
resumetab-activetab = ok_code.
then in pbo loop and enloop create a module and make like this,
for example,
CASE resumetab-activetab.
WHEN 'PERDET'.
resumetab-activetab = 'PERDET'.
dynnr = '0300'.
WHEN 'RESSUM'.
resumetab-activetab = 'RESSUM'.
dynnr = '0400'.
WHEN 'PRODET'.
resumetab-activetab = 'PRODET'.
dynnr = '0500'.
WHEN 'OTHSAP'.
resumetab-activetab = 'OTHSAP'.
dynnr = '0800'.
WHEN 'PROEXP'.
resumetab-activetab = 'PROEXP'.
dynnr = '0900'.
WHEN 'GENINF'.
resumetab-activetab = 'GENINF'.
dynnr = '1100'.
WHEN OTHERS.----
>this is the default assigning of first tab in tabstrip
resumetab-activetab = 'PERDET'.
dynnr = '0300'.
ENDCASE.
‎2009 May 27 9:42 AM
you might be given this type of code i pai,
for example
CASE ok_code.
WHEN 'PERDET'----
> Name of the Tabstrip Tab
OR 'RESSUM'
OR 'PRODET'
OR 'OTHSAP'
OR 'PROEXP'
OR 'GENINF'.
resumetab-activetab = ok_code.
then in pbo loop and enloop create a module and make like this,
for example,
CASE resumetab-activetab.
WHEN 'PERDET'.
resumetab-activetab = 'PERDET'.
dynnr = '0300'.
WHEN 'RESSUM'.
resumetab-activetab = 'RESSUM'.
dynnr = '0400'.
WHEN 'PRODET'.
resumetab-activetab = 'PRODET'.
dynnr = '0500'.
WHEN 'OTHSAP'.
resumetab-activetab = 'OTHSAP'.
dynnr = '0800'.
WHEN 'PROEXP'.
resumetab-activetab = 'PROEXP'.
dynnr = '0900'.
WHEN 'GENINF'.
resumetab-activetab = 'GENINF'.
dynnr = '1100'.
WHEN OTHERS.----
>this is the default assigning of first tab in tabstrip
resumetab-activetab = 'PERDET'.
dynnr = '0300'.
ENDCASE.
‎2009 May 27 9:46 AM
‎2009 May 27 10:38 AM
‎2009 May 27 10:44 AM
‎2009 May 27 10:56 AM
>
> Intresting .....
it is interesting isn't it. Who'd have guest?
matt
‎2009 May 27 9:46 AM
Hi
U need to initailize the structure of your tabstrip, so u should fill the field ACTIVETAB: here insert the ok_code of your first tab.
Max
‎2009 May 27 10:26 AM
Hi,
if first one to appear as the default thing,write code as
mytabstrip-activetab = 'Tab1'.
now first tab will come as default.