‎2008 Jan 24 1:40 AM
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
‎2008 Jan 24 3:32 AM
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.
‎2008 Jan 24 3:50 AM
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?
‎2008 Jan 24 4:09 AM
did u add this piece of code g_tabstrip_freq-pressed_tab = 'func code for secon subscreen'.
‎2008 Jan 24 4:15 AM
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?
‎2008 Jan 24 4:21 AM
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.