How to hide a tab, or why does have to be so complicated?

Hi
I have a tabNavigator, and I am trying to hide some of the tabs.
I have tried the obvioius
visible="false" //this did not work
includeInLayout="false" visible="false" //and this did not work and finally
var secondTab = tabNavigator.getChildAt(1);
secondTab.visible = false;
secondTab.width = 0; // this hides the contents of the tab, but the tab is still visible.
Why does it have to be so compliated, so unintuitive?

deleting it is one way of hiding it
http://stackoverflow.com/questions/830977/whats-the-best-way-to-hide-a-tab-in-a-tabnavigat or
the above makes use of BindingUtils which is an Actionscript strategy for binding. so you bind, say, a boolean variable or function return to the visible property

Similar Messages

  • How to hide a tab(not a conditional display)

    I allready posted this question, but nobody answered me...
    Please help. Here is the thread, just read the last message:
    how to hide a tab dynamically
    Vitaly

    Why? What are you trying to achieve? What functionality would that provide?
    See
    http://htmldb.oracle.com/pls/otn/f?p=24317:124
    Is that what you want?
    The function behind the Toggle link is
    <script type="text/javascript">
    function ToggleTab()
    var links=document.getElementsByTagName('a');
    for (var j=0;j<links.length;j++) {
        if (links[j].className=='t10standardtabcurrent') {
           var td=html_CascadeUpTill(links[j],'TD');
           html_ToggleElement(td);
           var adj=td.previousSibling;
           if (adj.nodeName != 'TD') adj=adj.previousSibling;
           html_ToggleElement(adj);
           var adj=td.nextSibling;
           if (adj.nodeName != 'TD') adj=adj.nextSibling;
           html_ToggleElement(adj);
    </script>Modify as per your requirements and post your final solution if you use this approach. Thanks.

  • Vista x64, Dell Laptop Lately I have been getting audio ads from Lysol etc which I can stop by deleting the process plug-in container Iknow how to delete this process but why does the audio ad run despite the application of two well known antivirus progs?

    Vista x64, Dell Laptop Lately I have been getting audio ads from Lysol etc which I can stop by deleting the process plug-in container Iknow how to delete this process but why does the audio ad run despite the application of two well known antivirus progs?

    Oh, PLEASE IGNORE the line:
    deleted everything under HKLM\SYSTEM\CurrentControlSet\Enum\Root\SYSTEM (folders 0000 to 0004)
    That was left there inadvertedly. Can't seem to find the edit button here...

  • HT2534 I have an account and I have to use i tunes first, of course i dont have the choice of "none". Why it have to be so complicated to use my phone?

    I have an account and I have to use i tunes first, of course i dont have the choice of "none". Why it have to be so complicated to use my phone?

    Did you follow, exactly, the instructions on the HT2534 page that you posted from when you created the account ? When I tried the instructions earlier today I was able to create a new account with 'none' as its payment method. If you don't use those instructions when creating an account then credit card details will need to be entered before the account can be used to download any item from the store.
    If you are being prompted to review the account then you could see if this post by mountaingoatgirl lets you do so via your computer's iTunes without needing to enter credit card details : https://discussions.apple.com/message/24303054
    If it doesn't then you will either need to enter credit card details (you should be able to remove them after entering them) or you will need to create a new account, and this time use the instructions on that HT2534 page when creating it. If you want to use the same email address then you will need to replace it on that account first e.g. by tapping on it in Settings > iTunes & App Store on your phone, via the Store > View Account menu option on your computer's iTunes or via http://appleid.apple.com
    Creating an account with 'none' :
    computer's iTunes : https://discussions.apple.com/message/24321860
    iPhone : https://discussions.apple.com/message/24700173

  • When there are several tabs open, why does the search always take place on the 2nd tab (the first tab seems never to change from the home page) despite my selecting a different tab in which to do a google search?

    I have Mozilla Firefox 10.0. When I open it, it correctly opens on the homepage in the first tab. Once I have another, or several, tabs open, no matter which tab is active, any google search I do immediately takes place in tab No 2. It doesn't seem to matter how many times I go to e.g. tab 4 to do a search (because I wish to compare with the webpage open in tab 2), yet it always now does the search in tab 2. This is very irritating. There must be some setting that has gone pear-shaped, but where/which? Any suggestions? Thanks.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • How to Hide a Tab related to FPM in Rfx

    Hi,
    I am new to SRM 7 and I have an issue in hiding a tab which is based on FPM. I went through lot of links and found below steps
           1) Add WD interface IF_FPM_TABBED_CONF_EXIT in implented interface of any webdynpro component under AppCC
           2) Implement the method  OVERRIDE_CONFIG_TABBED to hide a TAB.
    My problem is I took standrad webdynpro component /SAPSRM/WDC_DODC_RFQ_H_BI and tried to add  IF_FPM_TABBED_CONF_EXIT (in Implemented interface) in enhancement mode. But it is not allowing me add and throwing a message Web Dynpro comp./intf. "IF_FPM_TABBED_CONF_EXIT" already exist.
    So could you please tell me how to overcome this issue? and is there any alternative to hide a TAB based a conditions?
    Thanks,
    Raghu

    Hi
    go  to SE 80 enter the webdynprocomponents and enter
    go to component configurations select the webdynpro component
    click start configurator
    click change you can see the FPM select the button and hide
    In this you can hide for all the users only
    Regards
    G.Ganesh Kumar

  • How to hide report tabs in webi using opendoc?

    How to hide a report tabs in webi while accessing that report using OpenDoc??
    Is there a way to see just the sReportName selected without show the other
    report tab in the bottom of the document??

    Hi,
    As Mention By SUBBARAO MUCHERLA Either create 2 Different Reports.
    Or
    You can do one thing .
    Add Complete Report in a Blank section .
    Section (v_sec_All ="All")
       --Part1   //Table
       --Part2   // Chart
       --Part3   //Chart 2
       --Part n
    Use this section(v_sec_All) in Linking Report Part .

  • How to hide custom tab in crmd_order

    hello gurus,
    In crm how to hide a custom tab (which is created through EEWB Transaction )for particular order types??
    ex: if a tab named ADDITIONAL DATA B is holding the info like contact name ,customer PO etc.,here my requirement is to hide that tab for some order types like CR & DR.
    Plz help me out in this issue..
    Bye--
    Pradeepa

    Hello Pradeepa,
    2 options to replicate the custom data to R/3:
    A- via EEWB, flag the 'R/3' flag
    extract from doc:
    Field Relevant for R/3 Execution?
    Specifies whether you use CRM Sales with R/3 Supply Chain Execution, and whether you wish to transfer the field to the R/3 System.
    Use
    If you set this flag, the system generates a BAdI implementation that transfers the field to R/3 BAPI structures. If your executing system is an R/3 Enterprise System, the system enhances the BAPI structures and tables for sales orders in the R/3 System so that the field is transferred automatically to the R/3 sales order.
    So, with this flag, during generation, the whole flow to R/3 and also the fields in the tables in R/3 are created.
    B- write your own integration flow via exits/badi in the middleware to integrate the fields into existing fields in R/3 tables.
    Regards,
    Fred

  • How to hide a tab

    Dear Gurus,
    As per requirement costing tab  is not required in work centre so I want to hide the tab ,how it is possible please advise
    Reg.
    Aravind

    Hi,
    For your requirement, Follow below path:
    IMG-->Plant Maintenance and Customer Service-->Maintenance Plans, Work
    Centers, Task Lists and PRTs-->Work Centers -->Configure
    Screen Sequence for Work Center
    Work Center Category: Select the appropriate category e.g. 0001 for machine
    Select the line item of tab and Delete the tab you need here.
    Now create a new work center with the configured category as per above path then it will show only the tab pages you need.
    Regards,
    Narresh

  • How to hide a tab from the existing tabstrip of CRMD_BUS2000111 transaction

    I have to hide competitor tab from the tabstrip of CRMD_BUS2000111 transaction in CRM. I have tried shd0 but since this is not a dialog transaction we cannot create screen variant. After that I tried BUCO transaction.In BUCO I selected Sales Area data then competitors. But when I double click on compititors it is showing a message VCT control for screen configuration does not exist.
    I do not have much idea about BUCO. Can any one help me solving my problem?

    Friends
    With the following command you can register you .ocx ( Visual Buttons Control files ) in windows.
    REGSVR32 C:\Progra~1\SAP\FrontEnd\SAPgui\vistransmitter.ocx
    The above command will register said file in the registry and facilitate Visual Configurator Tool to run for Screen Sequence Modifications. With the above I also recommend Latest Patch (23), which is available with SAP to update on the windows frontend to avoid some other known frond end issues.
    Before doing all above make sure your have 2 files existence in the C:\Progra~1\SAP\FrontEnd\SAPgui folder
    Visu_se.exe
    vistransmitter.ocx
    Best Regards,
    Jaswant Purba
    [email protected]

  • How to hide a tab in WBS?

    Dear Gurus,
    In my project Cproject is activated.
    So, If i click WBS element, it is showing last Tab as cProjects. I want to hide the tab?
    How to do it?
    Regards
    Suresh

    however path I  have provided you that was for the custmised details screen.
    The contents of the detail screens delivered by SAP are defined in the system and cannot be changed. However you can develop your own detail screens and include them in Project System Customizing for later use.
    You can make the following settings:
    Enter your own title for tab pages and put an icon on these pages.
    Hide tab pages that you do not need
    Determine which detail screens appear on which tab page and where
    Change the layout according to the transaction (create, change, display)
    If you do not want to redefine all the tab pages, copy the SAP standard layout or the Customizing settings and change these settings to suit your needs.
    For the details please refer the following link.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/d1/ebb146e35f11d1a5d20000e82de7c3/frameset.htm
    Regards
    Nitin

  • How to hide a tab in a jsp?

    Hi all,
    Kindly tell me how I can hide a tab in a jsp. Suppose the id of my tab is 'Tab123', what would be the syntax I need to use. And where should I put this syntax?

    You can use taglibs and EL to control the output flow in JSP. A standard taglib is JSTL. For conditional statements you can use JSTL's <c:choose> or <c:if> tags. Syntax is nothing more than obvious, here's some pseudocode:<c:if test="${display tab123}">
        <div id="tab123"></div>
    </c:if>

  • How to hide a tab in a Tab Control by Property Node?

    Hi,
    I have a Tab Control in my Front Panel. So, using a array of LEDs, I would like to hide some tabs, probably using Property Node functions, but I can't find what option do it. Is it possible?

    Thanks Macro!  I came to the forum to find a solution for this exact problem, it's nice to find it already laid out for me so clearly. 
    -Joe

  • How to Hide a Tab in FPM

    Hi Colleagues,
    We have a requirement in which we have to dynamicaaly hide a tab on a screen that uses FPM. We were able to disable the tab but we did not find any option to hide/remove tab provided by FPM.
    regards
    ashish

    Steps to Hide/Remove BUDGET sub-view from PO Display-
    1. Go to Object Navigator (t-code SE80) and enter Web Dynpro component FPM_OIF_COMPONENT. Right-click and then click on u201CCreate/Change Configurationu201D.
    2. Enter configuration ID /SAPSRM/WDCC_FPM_OIF_PO_PURCH and then click on u201CChangeu201D.
    3. Select Sub-view Budget.
    4. To remove the sub-view, click on DELETE.
    5. The sub-view will be removed.
    Steps to Hide/Remove Sub-view contents and NOT the sub-view itself-
    1. Enter the Configuration ID of the sub-view component.
    2. Click on Web Dynpro Built-in tab.
    3. Select all elements and set visibility as u201CInvisibleu201D.
    4. Click SAVE.
    5. Contents of BUDGET sub-view will be removed.
    Steps to bring removed/deleted sub-view back on Portal-
    1. Select Mainview HEADER and click on u201CAdd UIBBu201D. Enter the following in Attributes Subview: Budget.
    Subbiew ID: Budget
    Subview Name: Budget
    Sequence Index: 4
    2. Click on Attributes for the added UIBB and then enter the following values.
    Component Name: /SAPSRM/WDC_UI_DO_BUDGET
    View: IV_L_FPC_CA_DETAILS
    Configuration Name: /SAPSRM/WDCC_UI_DO_BUDGET3
    Regards,
    Bijaya

  • How to hide a tab? register tab should not apper after user logs in

    Hi,
    In our portal, we enabled self registration with custom registration page. We wrote a portlet for registraion and added registration page a tab on the portal page.
    But after a user registers and logs in, we don't want to show the registration tab.
    If you have any idea on this, please let me know.
    Thanks,
    Sasi Bhushan.

    Hi,
    After registration, users will be redirected to login page.
    When users log in with userid/password, we need to take them to the home page of the portal. In our case, we gave a tab for "home" just like we gave for registration.
    So, users should be on the home tab of the portal and now, users should not see registration tab.
    This is the requirement.
    Thanks,
    Sasi Bhushan

Maybe you are looking for