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

Call a subscreen from subscreen

Former Member
0 Likes
669

Hi friends

I have a tabstrip control with say 7 tabs on it, i need to put a check at tab 1 that if from there a user tries to go to tab 6 he gets a message that he is not allowed and the tab 1 is still active for inputs.

Can anyone help me.

Thanks

Bhavna

Hi friends

I have a tabstrip control with say 7 tabs on it, i need to put a check at tab 1 that if from there a user tries to go to tab 6 he gets a message that he is not allowed and the tab 1 is still active for inputs.

Can anyone help me.

Thanks

Bhavna

5 REPLIES 5
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
647

Hi

<b>You cann't call the sub screen from another sub screen.</b>

Regards,

Sree

Read only

Former Member
0 Likes
647

hi,

u make those input fields as obligatory in tab1 then ur control will remain in tab1 until u enter those values i.e the tab 1 is still active for inputs.

i think this will help u

Read only

Former Member
0 Likes
647

hi,

u make those input fields as obligatory in tab1 then ur control will remain in tab1 until u enter those values (for that u can write a 'e' message what u wish to display)i.e the tab 1 is still active for inputs. this will help u in navigating from one tab to another.

but u cant call a subscreen from subscreen.

i think this will help u

Read only

Former Member
0 Likes
647

I think this really just depends on what your ACTIVETAB value is.

The actual "clicking" of TAB6 is a user-command, so you can capture this via your normal OK-CODE PAI. If the user is not allowed to go there, you produce an information/warning message saying that he's not allowed (an error message will gray out your TAB1 fields unless these are encapsulated in a CHAIN...ENDCHAIN with your error message), and make sure that the ACTIVETAB in your control is still TAB1.

This should then go back to normal PBO processing, and your program should recognise that the active tab is still TAB1.

Read only

Former Member
0 Likes
647

Resolved by checking values in PAI of main screen