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: 

tabstrip control

Former Member
0 Kudos

Hi experts,

Iam working on Dialog programming.

I have one button & one <b>Tabstrip</b> control on the screen.

My requirement is,

If i click button, the tabstrip control should <b>visible</b>.If i click again the tabstrip control should <b>invisible.</b>

Can anyone tell me how can i do this.Any suggestions pls.

reward guaranteed,

thanks

kaki

4 REPLIES 4

Former Member
0 Kudos

I think this is similar to thread you raised sometime ago.

Instead of the text box, assign the name of the tabstrip to the LOOP AT SCREEN.

Hope this helps.

Sudha

0 Kudos

Hi Sudha,

I tried in the same way.It is not working.

Iam confused with the tabstrip.

Shivaji16
Active Participant
0 Kudos

Hi,

Case ok_code.

when 'CLICK'. " for the button.

if flag eq 1.

Call the tabstrip subscreen.

flag = 2.

elseif flag = 2.

make subscreen no empty..

flag = 1.

endcase.

Former Member
0 Kudos

Try this:

Assign the individual tabs in the tabstrip to a Display group (You should able to find Groups in the properties of the tab, enter a value eg: DIS in the first box there).

Now, in the PBO,

 LOOP AT SCREEN.
    IF flg_click = space.
      IF screen-group1 = 'DIS'.
        screen-invisible = 1.
      ENDIF.
    ELSE.
      IF screen-group1 = 'DIS'.
        screen-invisible = 0.
      ENDIF.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.