08-01-2006 9:40 AM
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
08-01-2006 9:50 AM
08-01-2006 9:56 AM
Hi Sudha,
I tried in the same way.It is not working.
Iam confused with the tabstrip.
08-01-2006 10:01 AM
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.
08-01-2006 10:33 AM
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.