Set all Tab pages property

Hi All,
Does anyone know how can I loop through all tab pages in a form (10 tab pages) and set the visible property in run-time.
Thank!

There is no direct way to do this. You can be sneaky and iterate through each block and then each item in the form using the get_item_property(...,NEXTITEM), then call get_item_property with the CANVAS_NAME attribute, and build up a map of the canvases that way.
Or you can just take the low tech solution of using a naming convention such as WINDOW0_TAB1, WINDOW0_TAB2 etc, then use FIND_CANVAS to loop through those until you get a NULL canvas ID (use ID_NULL() for this)

Similar Messages

  • Set tab page property

    In the new form instance of my form, I'm disabling all tab pages but I'm getting an error that the last enterable tab page cannot be set to false. Is there some way to go around this and achieve the same effect?
    Thanks a lot
    Marija

    but the canvas does not have the visible or enabled attribute and when I tried to use the canvas_size the form open and closed immediately.
    Marija

  • About tab page:not all tab page can view when have many tab page

    It has 12 tab page in a tab canvas,when it is running ,
    not all tab page can view.
    the tab canvas's Tab Attachment Edge is Top.
    How can it view all tab page?
    Pleae help me!
    Thanks.
    Daniel Liang
    2007.3.20
    Message was edited by:
    DanielLiang

    The number of tabs that you can show at once is limited by the size of the canvas. If you have too many tabs, then you can set up one tab to be a 'MORE'. When the user clicks on it, it hides the current set of tabs and displays the set of tabs that were not shown. By having a MORE for each set of tabs, you can toggle between the sets of tabs. The Help documentation describes how to show and hide tabs, and how to set focus to a particular tab.

  • Set Tab Page property -  Label property dynamically

    Hi All,
    I have a Tab page canvas.
    My 1st tab canvas Label is "Projects".
    If i entered 2 record means i need to change the Tab page label as "Projects 2".
    IN which trigger , i will write a coding for that?
    If i am in the Tabbed canvas , it is working .If i come to Main canvas the Tab canvas label is clearing.
    Can u tell me suggestion for that.

    You could go with a combination of a Calculated item of type "Summary" and another calculated item of type "Formula":
    Create a calculated item :BLOCK.IT_COUNT of type "summary" which counts one of the NOT NULL-items in your data-block.
    Create a Program Unit liek that:
    FUNCTION FK_CHANGE_COUNT
    RETURN NUMBER IS
    BEGIN
      SET_TAB_PAGE_PROPERTY('YOUR_TAB_PAGE', LABEL, 'The Text' || :BLOCK.IT_COUNT);
      RETURN 1;
    END;Create a second calculated item of type "Formula", in the formula enter FK_CHANGE_COUNT.
    Now, everytime the count of the block changes, the "dummy" function will be called to calculate whatever, and the function sets the Tab-Label to the desired value.

  • How to set an tabbed page value in a field on another page?

    Hi,
    I am creating an Application in jdev10.3.4 ADF.i have created a tabbed page having 4 tabs
    Leeson Learned
    Best Practice
    Value Addition
    Other
    on each tabbed page i have a create button which will open a create page on that create page i need to set the value of field named category whose value
    will same as tabbed page name
    like when we press Lesson Learned tabbed page and then click create button on craete page in category field it should be set to "Leeson Learned" automatically.
    can anybody help me out how to do it ?

    Please try this - it works fine and I hope you understand it:
    You have to take a look for the binding of your radiobuttonlist here - You can change the binding value with a doubleclick, for example
    1 to ValueA
    2 to Value B
    Then you have to change your script and ask for:
    if(RadioButtonList.rawValue == ValueA)
        if (NumericField1.rawValue >= 1000 && NumericField1.rawValue <= 4999)
            NumericField1.rawValue *5/1000;
    }else
        if (NumericField1.rawValue >= 1000 && NumericField1.rawValue <= 4999)
            NumericField1.rawValue *20/1000;
    I would prefer to show the user a message:
    if(this.rawValue >=1000 && this.rawValue <=4999)
    }else
        app.alert("Please insert a value between 1000-4999. Thx.");
        this.rawValue = null;
    You have to coy this in the exit-event of the NumericField1.
    Hope it will helps you,
    Kind regards Mandy

  • Drilldown across all tab pages of WAD

    Hi,
    I have developed a WAD template (BI 3.5) with 3 querries included.  Each query(dataprovider) is displayed in one tab page of the web template.
    The question is that if user drilldown on one query, can the drilldown apply to all querries?
    How to get the return from the drilldown using javascript?
    Thanks,
    Joanne

    Hi,
    I´m facing a similar problem. We have developed a WAD template with 2 queries included, both in the same tab. We have common filters and free characteristics for both queries.
    We want to be able to control the filters and the drill down on free characteristics for both queries simultaneously.
    For the filters this works out fine because common filters are automatically applied to both queries, but for the drill down on free characteristics we understand this is not the case.
    How should we configure it so that the drilldown on one query applies to the other queri also?
    Thanks in advance
    Nicolas

  • Setting new tab page

    For some reason now whenever i open a new tab, instead of bringing me to the default mozzila one it brings me to a trovi search site, the same page poped up for my home page but i could fix that, any help

    Hello,
    Please see:
    * http://malwaretips.com/blogs/trovi-com-removal/
    If you find your new tab page is still set to trovi, you can change that in your Firefox configuration. In order to change your Firefox Configuration please do the following steps :
    # In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
    # Click '''I'll be careful, I promise!''' to continue to the about:config page.
    # Search for '''browser.newtab.url''' and modify (by double clicking the row or right clicking and select Modify) the preference so that the value is '''about:newtab''', or a site of your choice.

  • Saving the data of all tab pages.....

    i have 3 tab pages, when i enter the data in all 3 tab pages and finally i want save the data of all 3 tab pages by press only one save button........
    how to do this?
    pls help me guys...

    how to store the value which is in page field(:P1_NAME,:P1_SAL...As for this specific question
    BEGIN
      IF ( APEX_COLLECTION.COLLECTION_EXISTS (p_collection_name => 'BOOKING' ) THEN
         APEX_COLLECTION.TRUNCATE_COLLECTION(p_collection_name => 'BOOKING' )
      END IF;
       APEX_COLLECTION.ADD_MEMBER (
                                    p_collection_name  => 'BOOKING'
                                   ,p_c002                   => :P1_NAME
                                   ,p_c003                   => :P1_SAL
    END;

  • I want to change the new tab page - it currently is a list of recent site - i share the computer and find this annoying. would like all tab pages to be same as start page

    i want my new tab pages to look the same as my starter page.

    Firefox by default uses a blank page for a new tab. Something you installed has changed that action to what you are complaining about. You need to figure out which add-on made that change and disable that add-on or change the preference in that add-on.
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Why SAP B1 set all form item property of "Enabled" to true automatically?

    When I set some items property of "Enabled" to false in a user define form in the form load event.
    But now I click some editable item and type some thing in the edit text bar, I see all of uneditble item suddenly can be edit. It's not convenient, means we need to more coding work about this.

    Hi Alan,
    you may set the Form Property
    oForm.AutoManaged =False
    If it's True all item visible/enabled-propertys are dependent to form mode and they're always switching back to their defined state when the mode changes.
    If you want to use the oForm.AutoManaged =True then you can define exactly the behavior of the items in each mode:
                Dim modeMaskFind As Integer
                Dim modeMaskOk As Integer
                Dim modeMaskAdd As Integer
                Dim colUid As String
                Dim oCbx As SAPbouiCOM.ComboBox
                oForm.AutoManaged = True
                oForm.SupportedModes = _
                         SAPbouiCOM.BoAutoFormMode.afm_Ok Or _
                         SAPbouiCOM.BoAutoFormMode.afm_Add Or _
                         SAPbouiCOM.BoAutoFormMode.afm_Find
                modeMaskFind = SAPbouiCOM.BoAutoFormMode.afm_Find
                modeMaskOk = SAPbouiCOM.BoAutoFormMode.afm_Ok
                modeMaskAdd = SAPbouiCOM.BoAutoFormMode.afm_Add
               With oForm.Items
                    .Item("CBX_YEAR").SetAutoManagedAttribute( _
                           SAPbouiCOM.BoAutoManagedAttr.ama_Editable, modeMaskAdd, _
                           SAPbouiCOM.BoModeVisualBehavior.mvb_True _
                    ) ' editable in AddMode
                     .Item("CBX_YEAR").SetAutoManagedAttribute( _
                             SAPbouiCOM.BoAutoManagedAttr.ama_Editable, modeMaskFind, _
                             SAPbouiCOM.BoModeVisualBehavior.mvb_False _
                     ) ' NOT editable in FindMode
                    .Item("CBX_YEAR").SetAutoManagedAttribute( _
                           SAPbouiCOM.BoAutoManagedAttr.ama_Editable, modeMaskOk,  
                           SAPbouiCOM.BoModeVisualBehavior.mvb_True _
                     ) ' editable in OKMode
                    .Item("CBX_YEAR").AffectsFormMode = True
                End With
    Cheers,
    Roland

  • Tab Page visible property node not working correctly

    I am making a vi in which we have a tab control with 6 pages and to move from one page to another there is ring control with option for every page on page 1( page 1 is the default page), at a time only one page is visible so we can move only through that ring control present on page 1 and to come back to page 1 from all other pages there is button "go back" on all other 5 pages, everything is working fine for 5 pages but when after going on page 6 and then if i press go back button instead of going back to page 1 program hangs and one more thing that i noticed is after stopping the program the page 6 becomes the default page( which otherwise is page1) i dont know why this is happening.
    I am attaching the snippet of the code which executes when i press go back button.
    one more thing that i am not getting here is when i checked the program through step execution, the last property node( page6 ) that is executing first after that it goes to first property node and then it goes in sequence, this also i want to how is this happening.
    Solved!
    Go to Solution.
    Attachments:
    tab page property node.png ‏43 KB

    I think you would be better off just to use your array and turn on/off the necessary tabs instead of explicity setting each property every iteration.
    Attached is one example.
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    set visible tabs.png ‏56 KB

  • In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?

    Adobe Acrobat 9 Pro V9.4.0
    Win7 Pro x64
    Problem: In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?
    Every time Acrobat scans a document, I have to go to Initial View to set Navigation tab, Page layout, and Magnification. It does not remember the settings I last used.
    Thanks in advance.

    See my response to this post

  • How do I stop all tab group windows cascade open when new page is started

    Upgrade to latest Firefox version two days ago, and now whenever I start a NEW PAGE, all tabbed pages cascade onscreen, ie "open link in new window" brings up all tab groups on toolbar.
    This has never been a problem - I "save" windows in Tab Groups on my toolbar, and bring up a Group for reference during the day.
    Something in the new download has altered my settings, and I cannot find how to keep the tabbed window groups from cascading onscreen, and having to constantly minimise them.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • F2 Key - List all of the Tab Pages

    Hi, I am trying to make F2 Key work to list all tab pages for client-server forms, but could not. I am not sure the F2 key feature for forms 6i is only for web forms or it works for client-server forms as well. The version of the 6i is:
    Forms [32 Bit] Version 6.0.8.18.3 (Production)
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    JServer Release 8.1.7.0.0 - Production
    Here is the help from Form builder 6i:
    New ability to list all tab pages
    A new key, called List Tab Pages (corresponding to the F2 key), has been added to the tab canvas functionality.
    If the end users press this key, they are shown a pop-down list of all the tab-page names for that canvas. From this list, they can pick the tab-page that they want to activate.
    This feature is handy in those cases where there are so many tabs for the canvas that not all can appear simultaneously.
    Please help!
    Thanks,
    LL

    I use Forms [32 Bit] Verzia 6.0.8.17.1 (Produkcia) and there is no F2 key. Do you see F2 key if you press CTRL+F1 ?

  • Tab pages

    Hi,
    I've 3 radio buttons(A,B,C) in the form and 3 tab canvases(tab1, tab2, tab3) with 3 tab pages each.. When user select radio button A, then tab1 canvas displays(with corresponding tab pages) and when user select B radio button then tab2(with corresponding tab pages) displays and so on.. one of the requirement is if there is no data then disable those tab pages. I was facing one issue when i was trying to disable the tab pages. if there is no data for all tabe pages for a particular tab canvas then it says -> FRM-41389: Cannot set ENABLED attribute of last enterable tab page. Is there anyway to achieve this? or any advise? or different solution pls? the requirement is to disable the tab pages if no data, i need to achieve this.
    Thanks for your help

    Presumably one page has to be enabled in each tab set. So make sure the topmost page is left enabled and disable the others. Alternatively you could disable the blocks/fields on the tab pages instead.

Maybe you are looking for

  • Hyperterminal to serial port

    I use the hyperterminal to communicate and send commands to serial port COM1. On the hyperterminal window, I used to type such a command: AT+ZV SPPCONNECT....... This command is sent to the device connected to the COM1 port. Now I want to cancel the

  • How to Restore Contents of Old Drive onto New Drive

    Dear all, I recently managed to change my ibook's 30GB HD to a 160GB - successfully, BUT: before that, I saved a copy or clone wit carbon copy cloner onto an external Firewire HD, unfortunately without the 'bootable' option. After reinstalling OS X 1

  • How do I change the color of a circle in PSCS3

    I have this circle that has what I can only describe as a gradient fill to it, and I want to change its color. The task seems simple enough however for the life of me I can't figure out how to do it. In Fireworks it would be as simple as changing the

  • Why does Notes periodically disable itself in Mac iCloud settings?

    I believe this problem began with 10.8.2, as I never noticed it on 10.8 or 10.8.1. Periodically (probably once every day or two), I'll notice Notes on my Mac is not in sync with my phone, and going to System Prefs > iCloud settings shows that Notes i

  • Network location %appdata%\ error

    i have a big problem instralling my itunes it gets to computer space requirment ans something pops up in a box and says could not access network location %appdata%\ what do i do ?