[Solved] Changing tab visibility

Hi all,
I have some problems with Forms6i and I'm hopping someone could help me...
I have a form with 3 tabs. In the 1st tab I have several fields and depending on the value of one of those fields I want my 3rd tab to be visible or invisible.
My only problem with this is that after the situation: invisible -> visible, it doesn't change back to invisible.
I search it on the net and found something similarly to this but with text boxes and I tried the same resolutions on the tab but the properties aren't the same.
If anyone could help me, I appreciated.
Thanks,
Ana

I did what you suggested, but still isn't working:
1 - created a simple procedure:
PROCEDURE SET_TAB_VISIBILITY (
P_TAB_NAME      IN VARCHAR2,
P_VISIBLE      IN BOOLEAN
) IS
BEGIN
if P_VISIBLE then
SET_TAB_PAGE_PROPERTY(P_TAB_NAME,visible, property_true);     
else
SET_TAB_PAGE_PROPERTY(P_TAB_NAME,visible, property_false);     
end if;     
END;
2 - deleted the post-change event that I previously created;
3 - on data block level, in the post-query event called the procedure:
SET_TAB_VISIBILITY('FILTROS.PED_SERV', :JE_UBS_IP_MULTI_MESSAGES.event = 'PS');
4 - and on item level, in the when-validate-item also called the procedure with the same code.
I put some messages on the post-query and when-validate-item events to check things out and noticed that when I have something like 2 records and in the 1st one the tab should be invisible and in the 2nd, visible, when I go from record 1 to 2, it changes the visibility correctly and shows my test message. But when I navigate from record 2 to 1, it doesn’t do anything. Not even my message. It seems that it is ignoring the event.
Is this normal behavior?
Thank you

Similar Messages

  • Forcing Save when changing Tab Pages

    Hi,
    I have a form with four different tab pages
    and a common "Save" button (that performs
    the Form commit).
    The problem is that I would like to force
    the user to commit any changes they have
    made in one tab pages before allowing them
    to change tabs.
    Sort of a PRE-TAB-CHANGE trigger.
    Any ideas on how to solve this ?
    Thanks in advance.
    Regards,
    Klas Malmstrom

    Hi
    You may use trigger When-Tab-Page-Changed, asking for commit and if user answers 'NO' return him to previous Tab.
    Andrew.

  • Master Page updated , but changes are visible only for that Page(site) alone ?

    I updated v4.master in SharePoint designer to add a bread crum navigation control
     <div class="BreadCrumbWrap s4-notdlg"> 
           <asp:SiteMapPath runat="server" SiteMapProvider="SPContentMapProvider" id="ContentMap"   CssClass="BreadCrumbStyle" PathSeparator="&gt;"> 
           <CurrentNodeStyle CssClass="BreadCurrentNode" /> 
           <PathSeparatorStyle CssClass="BreadPathSeparator" />   
            </asp:SiteMapPath> 
          </div>
    But the changes are visible only in that site. all other sites dont have bread crum control,
    I added the bread crum in header section, and also in page layout section, but there is no change (bread crum navigation only visible in that site alone)
    Why ?
    I always thought master page edits will be visible in all sites of a site collection,
    Am i going wrong some where (My site collection has about 30-35 sites, and new sites are created every now and then )
    Please help
    rn

    If the publishing features are turned on then the master pages for all the sites in the site collection are pulled from the master page gallery of the root site.  But if Publishing hasn't been enabled then each site uses the v4.master in its own master
    page gallery.  It sounds like you haven't enabled the Publishing Infrastructure site collection feature and Publishing Site Feature in the root site of your site collection.  
    Paul Stork SharePoint Server
    MVP Senior Solutions Architect: BlueChip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Is there a way to automatically change tabs with different times set for each tab?

    I found a few add-ons that will automatically change tabs based on a configurable time. But all the tabs use the same time setting. What I need is the ability to have tabs displayed for different amounts of time. Ex, Tab 1 for 30 seconds, Tab 2 for 10 seconds, Tab 3 and 4 for 5 seconds. Ideally, I will have the ability to modify these settings as the amount of tabs and the content will change a couple times a week.
    Currently I'm using Tab Slideshow with each tab displayed for 15 seconds. But it sounds like Tab Rotate and Auto Toggle Tabs essentially do the same. If there is already a solution that would be great but if not is there someone available for hire to help modify one of the existing add-ons? Thank you in advance for your time.
    John

    Currently Firefox don't have any options like that.
    You can ask the Addon developers
    *http://addons.mozilla.org/

  • How to Make a Seeded Tab Visible (AllData Tab in iExpenses) in OAF Page

    Hi All,
    we have the below mentioned Tab's in OIE_AUD_AUDIT_PAGE, all these tabs are seeded one
    1. Expenses Tab
    2. Exceptions Tab
    3. Allocations Tab
    4. Tax Tab
    5. AllData Tab
    6. EmployeeNotes Tab
    7. AuditorNotes Tab
    these are all the seeded tabs, here except AllData tab all other tabs are visible in Auditor page now all i need is to unhide the existing seeded AllData tab.
    Even i tried enable this tab through personalization but the rendered value of this tab is already set to " TRUE " but still it is invisible.
    Please help me to make this tab visible.
    Thanks in advance for your valuable assistance
    Regards,
    CSK

    Hi Pratap,
    Many thanks for your response.
    Can you pleaes provide me the navigation to check this tab display is enabled or not in the Menu.
    Thanks & Regards,
    CSK

  • Error when I change the visibility of a context node

    Hi,
    I had to change the visibility of a context node (ZActivityH) to public (it was private) in the context to access it in the method DO_HANDLE_EVENT. I used transaction BSP_WD_WORKBENCH. I verify and activate it.
    As a result of changing the visibility, I have this error:
    Class      CX_SY_REF_IS_INITIAL
    Text:      Dereferencing of the NULL reference
    Program:      ZL_CRM_IC_IRECREASON_IMPL=====CP
    Include:      ZL_CRM_IC_IRECREASON_IMPL=====CM00C
    Source Text Row:      8
    The new source code in method DO_HANDLE_EVENT is:
    DATA category TYPE STRING.
    category = ztyped_context->ZActivityH->GET_CATEGORY( ATTRIBUTE_PATH = '' ).
    Any idea about the problem? Can I modify the visibility of a context node?
    Thank you very much for your help.
    María José

    Thanks a lot, Patrick,
    My context node is null, but I don´t know why.
    I have:
    In Class: ZL_CRM_IC_IRECREASON_IMPL
    Attribute ZTYPED_CONTEXT     type ref ZL_CRM_IC_IRECREASON_CTXT
    In class: ZL_CRM_IC_IRECREASON_CTXT
    Attribute ZACTIVITYH      type ref ZL_CRM_IC_IRECREASON_CN10
    In class: ZL_CRM_IC_IRECREASON_CN10
    Method GET_CATEGORY
    In method CREATE_CONTEXT_NODES:
    model = owner->create_model(
          class_name     = 'ZL_CRM_IC_IRECREASON_CN10'
          model_id       = 'ActivityH' ).                       "#EC NOTEXT
      activityh ?= model.
    In view I’m filling the context node:
    Regards,
    María.

  • Change plot visibility from legend

    Is there a way to change the plot visibility on an xy graph from the legend control similar to how you can click on the icon of the plot and change the color, line style, line width, etc.
    There isn't a option in the drop down list for this but maybe it can be programatically added to the drop down menu?
    Thanks
    Attachments:
    plotVisibility.jpg ‏30 KB

    Hmmmm....Dennis is right (and  by the way, it's Matt ).  However, there maybe a more involved solution to this - if you can define the location of the legend, maybe you could use a hotkey that, when pressed while hovering over the legend entry changes the visibility of the plot.  But, like I said this is pretty involved.
    30 plots, though?  That makes my brain hurt.  Is there some way to break the number of plots out or collapse the number of plots?  From a human interaction standpoint, a graph containing 30 plots just doesn't seem very useful  - it's just too many to visualize and make sense of.  (And the reason I am guessing you are seeking this functionality).
    Matt
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC

  • Changing Tab color of SuperTabNavigator

    Hi .
          How to change tab color of the SuperTabNavigator.
    Can any help me?
    thanks
    Raghu.

    No,
    Modifying the CSS files directly is not a viable option. Everytime someone saves the theme, the CSS files will be overwritten.
    Refer to this for a possible solution.
    Unleash the power of the Portal Theme Editor
    Thanks
    Prashant

  • Changing tab page name

    In the web client, How do you go about changing tab page names.  For instance, the tab page default on complaints transaction has a heading called technical analysis.  I want to change it to just analysis.  I looked in the tab groups I see the event with the tab name, however, it can't be modified there?  can someone enlighten me on where this modification can be made?

    Amory, in order to change the actual name of the tab (read: event), every tab is associated with an event, lookup Tab Group, CPL_ODC1, here you see a View Swith Group assigned 'S10_HD_ANA'. When you lookup this View Swith Group, you see the description 'Technical Analysis'. Copy both this entry and replace it's description accordingly. Then copy the tab group and refer to the newly created View Switch Group. After this create an entry in the BAB tables for your application for the event S10_HD_TREE_ANALYSIS and refer also to you newly created tab group. Hope this helpes, Tiest.

  • Changing tab focus with the keyboard

    I've read about changing the tab focus from one page to another programmatically; however, I would like to have shortcut keys to change tabs (like many programs that use CTRL+Tab to change windows within the program).
    I could use an event structure to capture keyboard button presses and then change the value of the tab control, but is there a more straightforward approach?
    Thanks!
    mlloyd

    You can set all other controls not to be tabbed through and the tab control to have its pages tabbed through. That way, when you use tab, only the tab control's pages will be on the tabbing list. This, however, is probably less straightforward.
    I'm not sure what's the problem with the method you outlined. In most cases, if you want something to happen, you will have to code it. This appeares to be one of those cases. You can make a subVI to do the tabbing for you, if you don't want to have to code all of it in your VI. Pass the reference of the tab control into the VI after you detect the event and use that to decide whether to increase or decrease the tab value. Be sure to cycle the number back to the first page when it reaches the end.
    Try to take over the world!

  • Changed Tab name is showing old name some times

    Hi Friends,
    I had successfully changed the enhanced tab name from the screen painter using translation and it also reflected in the transaction.
    When i am going to another tab within the same screen, changed tab name <b>'Safety Inf'</b> is again getting changed to old name <b>'Enhancemnt'</b>. when i go back again to the enhanced tab, again my changed name is coming as <b>'Safety inf'</b>.
    User doesn't like this...
    What could be the reason? any body has idea?
    Regards,
    Satish

    Hi,
    Nobody has any idea about this?
    Regards,
    Satish

  • What is the role of Changing Tab infunction module se37

    Hi. All,
    Any body can help me that what is the role of changing tab in function module.
    i am very confuse to take this. please tell me with code ( code implementation)
    not only theritical.
    Regards
    Mohd
    Moderator message: please search for information, these forums are no substitute for ABAP training.
    Edited by: Thomas Zloch on Mar 1, 2012

    SAP help portal
    ht[http://help.sap.com/saphelp_erp60_sp/helpdata/en/2d/351ee6448c11d189420000e829fbbd/frameset.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/2d/351ee6448c11d189420000e829fbbd/frameset.htm]
    Configuration for definition of formula parameter
    Customizing > Quality Management > Quality Inspection > Results Recording > Define Parameters for Calculated Characteristics
    As you know, you can assign the formula for inspection characteristic in inspection plan.
    Regards
    Luke

  • Mixing of two tab's data when tabs visible option is Unchecked (Urgent) ?

    Hi All
    I have a problem with tab, when tab visible option is checked it works properly but actually i have to uncheck this option due to my application requirement.
    When i uncheck this option in tab properties or set attribute in programming, tab does not shift and the next tab's data is displayed in the previous tab. In short the data of both tabs is mixed together.
    For clarity i have attached screenshots
    Picture 1.bmp and 2.bmp indicate the scenario when tab visible option is checked and 3.bmp is taken when this option is unchecked.
    How to cater this problem ?
    Regards
    umer
    Attachments:
    Tabs Problem.zip ‏121 KB

    I can't reproduce this... can you attach a simplified program that shows this behavior?

  • Where is the "firefox button" that is used to change tab location ("click on the Firefox button, go over to the Options... arrow and uncheck Tabs on Top. ")

    Where is the "firefox button" that is used to change tab location ("click on the Firefox button, go over to the Options... arrow and uncheck Tabs on Top. ") (from article).
    The "Tools" menu has an "Options" selection, but I cannot find in any of those menus a selection controlling the location of the tabs. Where is the "Firefox Button" referred to in the article "Why are tabs on Top?"

    If you turn on the classic menu bar, that replaces the orange Firefox button. To get the Firefox button back, right-click the menu bar to display the toolbars list, and uncheck Menu Bar.
    You can always temporarily display the classic menu bar by tapping the Alt key or pressing F10.
    The toolbar list pop-up also lets you control Tabs on Top.

  • Can you change tabs on a tab control by using boolean buttons?

    Need to change tabs by pressing a button instead of using the actual tabs.

    Absolutely. First create a local variable for your tab control. Then poll your boolean to tell when its value has changed. Finally write a value to the tab's local variable to change its tab page programmatically.
    Message Edited by Jarrod S. on 02-07-2007 05:46 PM
    Jarrod S.
    National Instruments
    Attachments:
    tab.PNG ‏17 KB

Maybe you are looking for