Application Development and Automation 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: 
Read only

Tabstrip control

Former Member
0 Likes
578

Hi all,

i have a tabstrip with 3 subscreen.

Whenever i made a check on the checkbox on the 2nd screen, it will auto bring me back to my main screen.

I dont want this to happen. How to overcome it? I want the screen to stay at 2nd screen instead.

Thk. Urgent

5 REPLIES 5
Read only

Former Member
0 Likes
562

hi,

did u create it using wizard and scrolling in GUI?

if so do this.......

when u check the check box PAI of 2nd subscreen ll be trigered............u know dat......there if u r checking ur checkbox......... say like dis

if <checkbox fld name> = 'X'

g_tabstrip_freq-pressed_tab = 'func code for secon subscreen'.

.......

.......

......

endif.

if ur not checking it add these lines.

if <checkbox fld name> = 'X'

g_tabstrip_freq-pressed_tab = 'func code for secon subscreen'.

endif.

Cheers,

Will.

Read only

0 Likes
562

Thk for yr answer. I was searching for the answer whole day.

Yes i using wizard and scrolling in GUI to create the tabstrip.

I tested using

g_tabstrip_freq-pressed_tab = 'func code for secon subscreen'.

When i first check the checkbox it bring me to the main screen. When i check the second time. it remain at the second tab. Why the first time, it give me the main screen

i add that code in my second screen.

Can help?

Read only

0 Likes
562

did u add this piece of code g_tabstrip_freq-pressed_tab = 'func code for secon subscreen'.

Read only

0 Likes
562

yes. i added in my screen 2 where the checkbox resides.

Is funny. when i check the first time , it went back to main. But when i check the second time is okay. it stay at my screen 2. Why i check the first time, it go to the main?

Read only

0 Likes
562

Hi,

I can't say why its happening without seeing ur code.........

enter /h (debugging) and den check the checkbox.

in debugging mode see the value of

g_tabstrip_freq-pressed_tab and if it has the func code of first screen find how its getting it and try to correct it...............

Cheers,

Will.