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

Similar Messages

  • 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.

  • 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)

  • Setting Tab Page Lable Bold

    I want to change the tab page lable dynamically whenver user select the concerned tab page it should be bold,i tried but it seems to me its not possible due to OS.
    Any body has clue which serve my purspose to just alert the user that you are on this tab page by showing bold tab page lable or get it colored etc.But i dont wana give any text heading at canvas.
    Note : i am using Forms 6i
    Thanx in advance
    Khurram

    See
    SET_TAB_PAGE_PROPERTY
    also see
    SET_CANVAS_PROPERTY
    SET_VIEW_PROPERTY
    HIDE_VIEW
    SHOW_VIEW

  • 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

  • Threadinar10 - Page Separator, Page Fragment Box , Tab Set & Tab Components

    Hi All,
    This is the tenth in the Threadinar series. See the Components Threadinar Index at http://forum.sun.com/jive/thread.jspa?threadID=103424 for the complete list to date.
    This Threadinar will discuss 4 components in the "Components Palette: Layout Section" section of the Creator Component Catalog.
    The components we will focus on today are
    "Page Separator", "Page Fragment Box" , "Tab Set" & "Tab" Components.
    Let us begin our discussion with the "Page Separator" Component.
    Page Separator Component
    You can drag the Page Separator component from the Palette's Layout category to the Visual Designer to create a horizontal line that resizes to any page width selected by the user. This component is the visual equivalent of an HTML <hr> tag.
    In the page bean, a Page Separator component is a PageSeparator object.
    * Note: If you want to use an HTML <hr> tag, drop a Meta component on the page and set its tag property to hr.
    [b]Page Fragment Box Component
    This component enables you to include a page fragment in a page. A page fragment is a separate, reusable part of a page that can be included in any number of pages. For example, you might want to put a common a visual element like a header graphic in a page fragment and then include it in all the pages in an application.
    When you drag the Page Fragment Box component from the Layout category of the Palette and drop it on a page, the Select Page Fragment dialog box prompts you for the name of the page fragment to be included. You can enter the name of an existing page fragment or create a new page fragment. If you create a new page fragment, the IDE gives the new fragment a .jspf file suffix and creates a node for it in the Projects window, as well as adding the page fragment to the Outline window.
    * Note: A Page Fragment Box component simply includes a page fragment in a page. Deleting a Page Fragment Box component from a page does not delete the page fragment itself, even if you originally used the Select Page Fragment dialog box to create the page fragment.
    After dropping a Page Fragment Box component on the page, if you click inside the component, you see the properties for the included fragment. If you click the border of the component, you see the properties for the enclosing <div> block. You can also use the Outline window to select the enclosing block, the page fragment, or the components in the page fragment. In the Outline window, the Page Fragment Box component is represented by a node named directive.include:fragment-file.jspf, where fragment-file is the name of the page fragment file.
    If you double-click the page fragment, it opens as a page in the Visual Editor, enabling you to edit it like a regular page. The page fragment has an associated JavaBeans object, a page fragment bean, which you can edit by clicking the Java button at the top of the page fragment when it is open in the Visual Editor. As with a regular page, if you drop a component like a button in a fragment, double clicking adds an event handler in the page fragment bean, enabling you to reuse the code on any page to which you add the page fragment. A common scenario for reusing component code would be a Search Box fragment that has a search Label, a Text Field where the user enters the search string, some Inline Help, and search logic code in the page fragment bean.
    * The tab order of the components in the page is unlikely to work properly unless you enclose the entire page fragment box in the Faces Verbatim component.
    For more details see tutorial : "Using Page Fragments"
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/pagefragments.html
    [b]Tab Set Component
    The Tab Set component in the Palette's Layout category is a container for a set of Tab components. Typical uses of a tab set are:
    * To provide alternate sets of components on the same page and enable the user to navigate to them by clicking on tabs. The user sees only the components under the currently selected tab. For more information on adding components to tabs, see Tab Component.
    * To navigate among a set of pages. If you use a tab set this way, you would usually have the tab set near the top of each page with the component's width set at 100%. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. In addition, you would need to delete the default Layout Panel component under each tab so the tab would display the page contents.
    You can set Tab Set properties in the component's Properties window.
    A Tab Set component contains Tab Components, and Tab components can contain other Tab components. You can see these components displayed as hierarchical nodes in the Outline window after you add a Tab Set to your page.
    You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dropping a new tab component on the Tab Set or on a Tab component.
    You can drop a new tab component on a tab set in the Visual Designer to the right or left of existing tabs to create a new tab at that level. The tabs in a tab set can also be containers for other tabs. If you drop a Tab component on an existing tab, the new tab becomes a child of the tab on which you dropped it. The maximum number of levels for tabs is three.
    The tab set component determines which tab is rendered as selected, storing the value in the selected property. By default, the selected property is set to the first tab created for the component. If you click a tab while designing your web page, that tab becomes the selected tab. You can tell during design time that a tab is selected because its color changes.
    [b]Tab Component
    A Tab is part of a Tab Set component. You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dragging a new Tab component from the Layout category of the Palette and dropping it on the Tab Set or on another Tab component. You can also drag from the Palette and drop the tab on the tab set's nodes in the Outline window.
    * If you drop the Tab component to the left or right of an existing tab, it is added to the same row of tabs.
    * If you drop the Tab component on an existing tab, the dropped tab becomes a child tab of the tab on which you drop it unless the existing tab is a third level tab. You can have at most three levels of tabs in a tab set.
    o Note: You cannot add a child tab to a tab that has components in its Layout Panel. When you drop a tab on an existing tab component that has an empty Layout Panel, the empty Layout Panel is deleted to make room for the dropped tab.
    By default, a Tab component has a Layout Panel below it where you can drop components that will be displayed when the user selects the tab. The Layout Panel by default has its panelLayout property set to Grid Layout, meaning that components dropped on the panel are aligned at the location where they are dropped. You can change the layout behavior by setting the panelLayout property to Flow Layout, which aligns dropped components left to right in rows. For more information on Layout Panel properties, see Layout Panel Component Properties Window.
    To select a tab in a tab set, either click the Tab component on the page or select the Tab component's node in the Outline window. To select the whole tab set, either click the border of the Tab Set component on the page or select the tab set's node in the Outline window. Alternatively, you can select a Tab component and either press Escape or right-click and choose Select Parent to select its parent component.
    * Note: If you select a tab on a page in the Visual Designer, a side effect is that it becomes the selected tab. If this effect is not what you want, select the tab in the Outline window so you can set its properties.
    You can drag tabs in the Outline window to change their location and level in the tab set.
    Some typical uses of tabs:
    * You can drop components on the Layout Panel component below a tab to enable a set of components to be displayed below each tab. When the user selects a tab, they see only the components that are associated with the tab, without having to change pages.
    * You can use a tab set to navigate among a set of pages. Each tab component links to a page in your web application. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. If you want to use the tab set for page navigation, be sure to delete each tab component's Layout Panel.
    You can also right-click the Tab component and choose one of the following options:
    * Edit action Event Handler. Code the action event handler, the method that is called when the user clicks the tab. This method determines which page or resource to open based on specified conditions. The action method typically processes mouse clicks and returns a string indicating the name of a page navigation case (the page in your application to display next). The default name for the method is tab-id_action, where tab-id is the value of the tab's id property.
    * Bind to Data. Dynamically set the text that appears on the tab. You can bind the component's text property to an object or a data provider, as described in the topic Bind to Data Dialog Box.
    * Property Bindings. Opens a dialog box that enables you to bind properties of the component in addition to the text property to other objects or bean properties that update this component's properties automatically.
    [b] Please join in and share your comments, experiences, additional information, questions, feedback, etc. on these components. <br><br>
    Thank you for your participation

    The following blog has a mini tutorial on using a tab set in a page fragment for page navigation:
    http://blogs.sun.com/divas/entry/tabbing_thru_the_tulips
    A reader commented that the mini tutorial needed to be improved upon to show how to keep the tab state and navigation state in synch.
    How would you do it? If you have a good example, maybe post it to this thread.
    Also, there is no tab tutorial but it is on the priority list. What would you like a tab tutorial to show how to do?

  • Dynamically set Tab current pages

    Here’s a quick summary of the situation I’ve got.
    Let’s say I have an application with 4 report pages. Three display some data about rows in my database. All 3 contain the column ‘Control #’ which is linked to the 4th report which displays more detailed information about that Control # object.
    When I click on the Control # link and go to the 4th report, I would like the Tabs current for the 4th report to match the Tabs current of the page I came from. In other words, if I clicked on the Control # link on page 1, I would like the 4th pages current tabs to match page 1’s current tabs. The same goes for pages 2 and 3.
    I’ve tried &(some global variable). and :(some global variable) and v(‘some global variable’) in the Tabs current pages fields but that doesn’t work.
    Is it possible to do what I’m trying to do?

    Reports 1, 2 & 3 all exist in individual two tab pages. Pages 1 & 2 would have the same parent tab and their own sub tab. Page 3 would have its own parent tab. When in those pages the appropriate tabs are 'current'. When I click on Control # on any page and go to page 4, I would like the source pages tabs to stay 'current' when displaying page 4.
    By the way, my actual application has in the neighborhood of a dozen pages which are like reports 1,2,& 3 as I described above. Rather than build a dozen identical (with the exception of current tabs) page 4's, I would rather build one page 4 and dynamically set page 4's current tab to the source page's current tab.
    It's a visual reminder to the user as to which page they were on when they clicked the Control # field.
    I also have 8 - 10 SVG charts which I have linked to reports. About 6 of them display the same report using different parameters. Again, I would like THAT report to have the same current tab as the source chart (chart clicked on to invoke the report).

  • Browser opens to properly set home page. Tabs open to a different home page. what is the fix to get tabs to open to the home page I want.

    I have firefox 24.0 in xp . for some time i have been using firefox with no problems. and i think i recently update to the current version. went my problem started I think was when I tried to download a video downloader. my home page was changed even tho I did a custom install. May home page was switched. after much trial and error I managed to get the home page I wanted when the browser first opens. but when I hit the tab button some home page opens that I dont recognise. and it does that for each addition tab that I open. it does this only when I open a tab. I have read several of the related questions here but there a waste of time because I am not a techie.
    looked at the about:config thing but finding the right thing to even begin to look at was impossible. I dont recognise any of the thing in there and I dint understand how to search for the thing it said search for. this is the instructions I tried to follow:
    Chosen solution
    You can modify the browser.newtab.url pref and change the value to http://foxnews.com
    Also make sure that the new tab page is enabled, the browser.newtabpage.enabled should be true.
    Type about:config in the location (address) bar and press the "Enter" key to open the about:config page, just like you open a website by typing the URL in the location bar.
    If you see a warning message then you can confirm that you want to access the about:config page.
    use the Search bar at the top of the about:config page to locate preferences more easily
    preferences that have been modified and do not have the default value show as bold (user set)
    preferences that are user set (bold) can be reset to the default value via the right-click context menu
    preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean) or by double-clicking the line with the pref
    preferences can be created via the right-click context menu: New -> String, Integer, Boolean
    http://kb.mozillazine.org/about:config.
    what preference am I searching for? I tried searching for browser.newtab.url and came up blank. search for just browser came of with too many for me to make judgment on.
    This was very confusing and i could not figure it out until the asker came back and said it worked and something else that I cant find now. i think the answers should be dumbed down to where non-techies can understand. my problem is solved

    You can change this if you don't mind peeking under the covers into Firefox's about:config preferences editor.
    (1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste newtab and pause while the list is filtered
    (3) Double-click the browser.newtab.url preference and enter the desired value:
    (i) Page thumbnails (default)
    browser.newtab.url = about:newtab
    (ii) Blank tab
    browser.newtab.url = about:blank
    (iii) Built-in Firefox home page
    browser.newtab.url = about:home
    (iv) Any other page
    browser.newtab.url = full URL to the page
    Press Ctrl+t to open a new tab and verify that it worked. Fixed?

  • How can I set the page that will open, when I open a new tab, to be the same as the homepage?

    How can I set the page that will open, when I open a new tab, to be the same as the homepage?
    An app changed it to some other search engine, before installing the app, I the tab that would open was the homepage I set.
    In my case it is Google, and I want my new tabs to open on Google like they did before the installation.
    thank you,
    Asaf Privman.

    You can middle-click or Ctrl left-click the Home button on the Navigation toolbar to open the Home page in a new tab.
    You can look at one of these extensions:
    * NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
    * New Tab Homepage : https://addons.mozilla.org/firefox/addon/new-tab-homepage/

  • How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??

    How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??
    == This happened ==
    Every time Firefox opened

    Firefox can have multiple home pages if you wish. Each home page that will open when starting Firefox is separated by the "|" character.
    See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    To have new tabs open a specific web site, add one of the following extensions:
    http://sogame.awardspace.com/newtaburl/
    https://addons.mozilla.org/en-US/firefox/addon/777

  • How do I set what page will open up when I click new tab?

    I just downloaded something from the internet and ASK is now my default page when I open up a new tab. I managed to set what page I wanted when I open up the browser, but when I am in the browser and I click NEW TAB it goes back to ASK. Any ideas?

    You may need to remove an Ask extension. You can check on the Add-ons page:
    Tools menu > Add-ons
    In the left column, click Extensions, then disable/remove unwanted (or unrecognized) extensions.
    The actual address for the new tab page is a hidden setting. To adjust it:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box that appears above the list, type or paste '''newtab''' and pause while the list is filtered
    (3) Double-click the '''browser.newtab.url''' preference and enter the desired value:
    * ''Page thumbnails (default)'' => about:newtab
    * ''Blank tab'' => about:blank
    * ''Built-in Firefox home page'' => about:home
    * ''Any other page'' => full URL to the page
    Press Command+t to open a new tab and verify that it worked. Fixed?

  • How do I set a specific page to open when I open a new tab in Firefox? I can open the page when initially opening Firefox, but not for subsequent tabs/pages.

    How do I set a specific page to open when I open a new tab in Firefox? I can open the page when initially opening Firefox, but not for subsequent tabs/pages.

    You can use an extension to set which page to open in a new tab:
    *NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
    *My Homepage: https://addons.mozilla.org/firefox/addon/my-homepage/

  • 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

  • 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

  • I have set home page, what option do I use to set new tabs to open as home page?

    I have set home page default. What option do I use so that new tabs open as home page?

    You can look at this extension:
    * NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/

Maybe you are looking for

  • Value string

    po 100 pc delivered 50 pc movement type 101 stock type unrestricted now once i post the delivery in MIGO system debit stock(BSX) account and credit GR/IR account my question is can anyone tell me the complete chain of valuation and account assignment

  • Newbie questions on Admin, Deployment & Answers

    Hi Gurus, Sorry to be raising questions that may have been repeated over again. I tried to search thru the net/forums but cudn't find anything useful. Really wud appreciate any help/directions/links to the answers I seek Developement and Production P

  • Tcode to view the list of all dialog users in SAP XI

    Dear all, What is the Tcode to view the list of all dialog user is SAP XI system. I checked with SU01, it doesn't have a option to display the list of existing users. Any other Tcode for this purpose. Regards, Younus

  • Please help me regarding message error in GPShell 1.4.2

    Hi friends.. i've a GPShell script like this : mode_211 enable_trace establish_context card_connect -readerNumber 2 select -AID a0000000030000 open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 4041424344454647

  • Tax Query

    What is difference between Tax Code and Withholding Tax code while preparing the IV? Where are they configured in SAP? How the entries are posted to GL account in SAP?