Tab canvas(tab page hidden)

Hello Everybody,
I have two blocks.each block have one canvas(first block have content canvas andthe second block have tab canvas),in the first block i want to to make button to make some tab pages hidden,
how to make one tab page hidden?
Thanks and regards,
Mona

Mona wrote:
how to make one tab page hidden?
Use the SET_TAB_PAGE_PROPERTY built-in with the VISIBLE property set to FALSE, you can set it visible/invisible dynamically.
Your code should look like something like this:
SET_TAB_PAGE_PROPERTY('tab_page_name', VISIBLE, PROPERTY_TRUE);Tony
Edited by: Tony Garabedian on Oct 16, 2008 12:00 PM

Similar Messages

  • Change Tab Canvas Tab Attributes?

    Hello:
    I've got a tab canvas where I changed the background and foreground colors using a visual attribute--this changed the "body" area of all of the individual tab canvases which is what I wanted. However, it didn't change the background colors of the actual tabs (on the top of) these canvases, they are still in the default Oracle gray and teal (the tab for the canvas currently on 'top' is gray and the others are teal). How do I change the visual attributes of the tabs themselves? This shouldn't be as difficult as it's being, but I can't find a setting for this.
    Thanks,
    Mark

    I'll bet the tabs on top actually are set by the color of the "parent" tab canvas background color. I always just set its background color, and never tried changing the individual tab pages. In fact, I don't know about making each tab a different color -- it looks like you can change each one's color, but the tabs at the top will probably keep the parent tab's color.

  • Tab canvas, tabs navigation

    In my tab canvas, for some reason, I had to make my tab1 as tab3 now. I want the users to be able to navigate
    in the normal order tab1,2,3 (as they are laid out in the object navigator). Now that I renamed my tab1 as 3, upon entering the block it is first navigating to tab3.
    Is there a way/place to specify the order or tab navigation at design time?
    Thanks,
    Chiru

    Now that I renamed my tab1 as 3, upon entering the block it is first navigating to tab3.The form doesn't navigate to a tab, it navigates to the "focused" item, means the item where the cursor is placed on. So, if you want another tab to shown by default, you have to order the items in your block so that the first navigable item is visible on tab1.

  • Can't change color of Tab Canvas tabs

    I'm trying to modify a the background color of a tab canvas, and the color of the canvas itself changes as specified, but I have been unable to change the color of the tabs themselves.
    Am I missing something here, or is there a bug, or what?
    Thanks for any enlightenment.

    Thanks for the info - at least I know to quit looking for something I may have overlooked.
    Thanks also for the possible workaround - I may try that.

  • Tab canvas color

    Hi,
    I had a form with content/stacked canvases and I converted all of them to tab so that it would be much easier for the users to view. Everything's working fine but somehow the color of all the canvases has changed to light gray. Earlier my canvases were teal (which is by default in 10g). I want to keep the default color i.e. teal, how can I do that?
    Thanks in advance.

    You can set all or some of the tab canvas's pages the background color you wish:
    Open the object navigator , and all the tab pages of the tab canvas.
    Right - click on each one - or press F4 - to activate the property palette. Change the background color as you like....
    Note: you can do this in just one click..... You simply select the tab pages and preesing F4 you alter the background color.....
    Greetings.
    Sim

  • Newbie Help - Tab Canvas with Multiple Pages, Arrow to Navigate between

    Hi All,
    I am developing my first form. It is a page that requires several pages. I have created a tab canvas and put the pages on (there are 10 pages). When i run the form, i can see the first 4 page headers, and cannot see the other headers. Is there a way to have a arrow at the top so i can click on it to move the display so i can see the other pages?
    How would this normally be done? What i am after is a similar multi page navigation to that in the assignment screen, or any oracle screen with several pages.
    many thanks
    Rupz

    Hi, thanks for your reply.
    If i press F2, a list of all of the pages appear, but i do not get any arrows.
    I have a single tab canvas with 10 pages on it. The pages fit on the canvas, but not on the display window. Do i need to modify the canvas in any way to get the navigation arrows to display?
    thanks
    Rupz

  • Generating tab canvas pages with Headstart olb fails (CDG-01364)

    I'm trying to generate a form (master + details), details on tab canvas pages.
    When generating with qmsolb65.olb generation fails with error CDG-01364 (Available width on content canvas 2 (-199) less than minimum allowable width (450)).
    When generating with standard Designer olb (Ofgstnd1.olb) generation succeeds.
    Has anyone seen this behaviour and can provide me with a solution? Changing canvas tab properties in Headstart olb perhaps?
    Designer 6.5 R4.1.1 , Design Editor 6.5.69.1.0 Production
    Headstart 6.5, olb d.d. 03-08-2001
    kind regards
    Geert

    We had the same problem.
    We got around it by, each detail Module Component is set as 'NEW TAB CANVAS PAGE' and set all the SIZE properties (width,height,view width and view height) to the relevent values, again for each MC.
    Hope this help..

  • How to build stacked canvas on tab canvas page

    I'm a beginner for oracle d6i. Please tell me
    how to build stacked canvas on tab canvas page for
    details. I need horizonal scrollbar on tab canvas.
    Thanks in advance.

    Thank you for your reply. In general, i really put stacked canvas onto the tab canvas, However i saw one solution of john.williamson in this forums (re:Silent Client Installation He didn't provide it
    for details to put stacked canvas onto the tab canvas' page.

  • How to grade out a tab page in tab canvas

    Hi All,
    I am using oracle Apps R12.2 and forms 10g version
    I have Tab canvas in my page and it contain two page.
    My requirement is when the user is "PROC HEAD" means the Tab_page2 is Visible and able to acces.When other user logged means the tab should be grade out.
    I have tried so for is i have written my code in When New form Instance trigger
    And this is my code.
    declare
    tp_id TAB_PAGE;
    v_user_id number;
    begin
    select user_id into v_user_id from fnd_user where user_name='PROC HEAD';
    if fnd_global.user_id= v_user_id then
    tp_id :=FIND_TAB_PAGE('EXPEDITOR');
    SET_TAB_PAGE_PROPERTY(tp_id, visible, property_true);
    else
    SET_TAB_PAGE_PROPERTY(tp_id, visible, property_false);
    end if;
    Can any pls correct me where i went wrong.
    Thanks & Regards
    Srikkanth
    end;

    Srikkanth.M wrote:
    SolvedIt would be great if you could share the solution.
    Thanks,
    Hussein

  • Forms 6i - Highlight a tab page label (BOLD or coloring) in a tabbed canvas

    Hi Sir,
    I have an urgent requirement wherein I need to highlight a particular tab page header (label) either via
    1. Making the tab page label BOLD
    Or
    2. Coloring that particular tab page.
    OR
    some other way.
    Could anyone please help me on this.
    Regards,
    Kiran

    No version of Oracle Forms allows you change these properties of a tabbed canvas. If you were using Forms 10g or higher, you would be able to use the Oracle Forms Look and Feel Project which is a set of JavaBeans created by Francois Degrelle and enables you the change many of the properties that Forms won't let you change. Unfortunately, you are stuck with what is available in Forms 6i.
    Craig...

  • Setting a tab canvas page to be visible

    hi guys, when my form starts I have a page on my tabbed canvas in which the users cannot see. When a certain event triggers i then want to be able to make this tab visible and I was just wondering if anyone knows how to do this?
    I know about:
    set_item_instance_property(<item_name>,current_record,visible,property_true);
    however I am unsure how to reference the specific page of the tabbed canvas using this, i thought it would be something along the lines of:
         set_item_instance_property('TABCANVAS.PAGE_NAME,visible,property_true);
    Am I far of the mark?
    Thanks in advance for any help.

    Hi,
    If you want to display a tab, you can use the following:
    SET_TAB_PAGE_PROPERTY(tab_page_id,VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY(tab_page_id,ENABLED,PROPERTY_TRUE);Rgds
    Oups! someone answered b4 me!
    Edited by: user1000280 on Nov 22, 2010 3:55 AM

  • When New Tab Canvas/Page?

    What is the best way to determine when you user has navigated to a new tab canvas/page when the navigation does not occur by clicking on the tab canvas's Tab? For instance, when the user clicks a button item that navigates to a different tab canvas/page I want to disable the tab canvas/page the user came from.
    Any help would be greatly appreciated.

    Hi
    i asked that question before pls read the following link
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2191397
    Amatu Allah

  • How to fix part of a page in a tab canvas

    How can we allow part of columns in a page in tab canvas to be scrolled ?
    null

    The columns that you wish to scroll through should be placed on a stacked canvas. A stacked canvas has properties that allow you to show horizontal and vertical scrollbars.
    Stacked canvases have two sizes that you need to be aware of the "Physical" width and height. This is the available space that you can place your items.
    Stacked views also have a viewport size which is the size it shows on the screen and you can "scroll" to see the rest the physical size.
    Hope this helps,
    Candace Stover
    Forms Product Management
    null

  • Display stacked canvas on tab canvas page

    Hi,
    I am using Forms 10g. I have Content canvas named CANVAS1. I created a tab canvas called TAB_CAN contains TAB_PAGE1 and TAB_PAGE2, Stacked Canvas called STACK1.
    If if create tab canvas on content canvas thourhg labout editor. It's display well when forms run. But, i have created manually.
    1. How to display tab canvas programatically.
    2. How to display stacked canvas on TAB_PAGE1
    Regards,
    Murali

    Looks like you are in the wrong forum.
    Please post this in the [Forms forum|http://forums.oracle.com/forums/forum.jspa?forumID=82]
    Timo

  • Forms 6i, Stacked & Tabbed Canvas- Wierd behaviour

    Hi,
    I am having a wierd problem:
    Scenario:
    I have a datablock of 40 columns.
    I put 1 (say col-1 on page_1 and col-21 on page_2) column each on two different TAB pages.
    I created 2 stacked canvases: page_1_stacked & page_2_stacked
    I put col-2 to col-10 on page_1_stacked
    and col-22 to col-40 on page_2_stacked
    I used the following code to show/hide the appropriate cols/stack canvases when the users changes Tab pages:
    [when-tab-page-changed
    if (:system.tab_new_page ='PAGE_1')
         then
         show_view('PAGE_1_STACKED');
         hide_view(''PAGE_2_STACKED'');
    elsif (:system.tab_new_page ='PAGE_2')
         then
         hide_view('PAGE_1_STACKED');
         show_view(''PAGE_2_STACKED'');
    end if;
    Problem:
    Everything seems to work fine, the stacked canvases show/hide as expected, but --->as soon as I put my cursor in any column on TABBED PAGE (here col-1 or col-21), all the stacked canvases vanish
    -->if as a result of above case where I put the cursor in a tabbed-page col and canvas vanished, I navigate to the next field (which is on canvas), the canvas shows up (which is normal)....but then this canvas wont get hidden with my hide view... and end up with all stacked canvases shown together or none at all
    I have played around with all the properties and am really trapped.
    Please help!
    Thanks.

    Devang, are you aware that if you put the cursor focus in a field, Forms will ignore any show_view or hide_view commands if they cause the cursor to disappear? And if your cursor focus is in a field in a stacked view, hide_view will not work. Forms will not let you hide or cover up what ever item is identified by :System.Cursor_Item.
    I do not know why you need Col_1 or col_21 on the tab canvas. Put them on your stacked canvasses, too.
    Use a when-new-item-instance block-level trigger to determine which tab page should be displayed. If :System.trigger_item = col_1 through col_20, make sure Page_1 is displayed, and for col_21 through col_40, make sure Page_2 is displayed.
    Similarly, use a when-tab-page-changed trigger to move the cursor to the correct canvas. You wouldn't even need to use show_view or hide_view, Forms will do that for you each time you move into an item on either canvas.
    And why are you using two canvases anyway? Since you are using a horizontal scrollbar, why not put them all on a single canvas? (And then you wouldn't need the tab pages.)

Maybe you are looking for