Skip to Content

prob in tab strip.....

how to dynamically made tabs of the tabcontrol invisble at rumtime..

suppose out of 4 tabs, i want only 2 tabs to appear, how can i do that, based on some condition...

Design Time -


> Runtime

1,2,3,4 1,3,4

Thanx,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 06:23 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 06:23 AM

    Hi friend,

    I think we cannot make tabs disappear at runtime but we can make them as disable.

    Regards,

    Swetha.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 06:23 AM

    Hii,

    When you create a table control you to create Additional TABS,

    you also Define Functional Code to those TABS.

    USE these TABS based on your requirment.

    Thanks,

    GAURAV J.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 06:26 AM

    Hi friend,

    I think we cannot make tabs disappear at runtime but we can make them as disable.

    Regards,

    Swetha.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 06:30 AM

    you can hide a tab at runtime by setting the corresponding tab title to inactive at runtime using screen syst table.

    loop at screen.

    if screen-name = <ur tab name>.

    screen-active = 0.

    modify screen.

    endloop.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 06:34 AM

    Hi Naveen,

    You can hide a tab page at runtime by setting the corresponding tab title to inactive

    using the system table SCREEN, SCREEN-ACTIVE = 0. You should do this before

    processing the tabstrip control for the first time to ensure that the screen environment

    remains constant.

    Reward points if this helps,

    Kiran Kumar S

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 01, 2008 at 06:40 AM

    it is not solving my prob...how to make the tabs 1, 3 disaapear runtime, from tabs 1 to 4....

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.