2007 Jun 06 6:28 AM
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
2007 Jun 06 6:34 AM
Hi
<b>You cann't call the sub screen from another sub screen.</b>
Regards,
Sree
2007 Jun 06 6:36 AM
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
2007 Jun 06 6:39 AM
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
2007 Jun 06 7:55 AM
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.
2007 Jun 10 3:52 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |