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

Similar Messages

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

  • 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 can I set the "tab groups" page as my home page?

    I've searched for about:config options, and even installed Customizable Shortcuts 0.5.11.1 with the hopes that there would be a shortcut for "options" or "preferences", so that I could simply click "set as home page" while in the tab groups page. No dice. I've just started working with tab groups again (I was away on Chrome for maybe a year... but I'm back), and I think it would be great if I could simply have all my tab groups displayed when I start firefox up. How do I do it?

    The tab view page is dynamically populated based on the tab groups in the current window. Although the "page" has an address, opening that address directly yields a blank tab, so I think that's a dead end.
    Since the keyboard shortcut is Ctrl+Shift+e, maybe you can find a way to send that automatically?
    Also, if you rely heavily on tab groups, I assume you are using something like the [https://addons.mozilla.org/en-US/firefox/addon/session-manager/ Session Manager extension] to protect against data loss. Because tab groups (and of course the tabs themselves) are stored only long enough to restore the immediately previous session, it's not too difficult to accidentally lose them all.

  • 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

  • Unable to Set Parent Tab on Pages

    Hi,
    I created some pages and I just created parent tabs. However, I am unable to apply the parent tabs to the page. I went to the "Utilization" area and it does not have reference to any page.

    Hi Denes,
    I totally agree that it would be worthwhile putting together some tips on handling tab creation. Somewhere earlier in this forum I did explain how to create everything manually (though I do tend to create tabs during the page creation wizard) but it would be helpful if there was a definitive guide somewhere.
    I think my number one tip, as far as parent tabs goes, is to change the default sequence number to something other than 10 during creation. If you already have a tab with this number, you tend to lose your new one. I set this to 999 during creation and then change it afterwards.
    Andy

  • Creating tab canvas inside another tab canvas

    pleas help me solving the issue...
    I want controlling code such that i can create tabpage canvas into another one.
    second tab page of first tab canvas it should be visible.
    regards
    jai

    As long as i know something like this is not possible.
    But you can emulate it this way (for this example i will assume that you want the smaller tab-canvas placed on the second page of the bigger tab-canvas) :
    1. create a tab-canvas
    2. create a stacked-canvas with bevel=none
    3. create a new tab-canvas and place it on your stacked-canvas
    4. make the stacked-canvas invisible
    5. through the trigger WHEN-TAB-PAGE-CHANGED make your stacked-canvas visible whenever you are on page 2 and invisible whenever you are on another page.
    6. adjust the coordinates of your stacked-canvas so it will appear right above the bigger tab-canvas
    Good luck with this
    Markus

  • Urgent: Stack Canvas in Tab canvas

    Hi,
    I have a very urgent requirement. Please help me solving this.
    I want to have One tab canvas which has three tab pages.
    On the First Tab i want to fetch the data from some table say XX_CUSTOM_TABLE.
    Now, This should be displayed in Tabular format with Horizontal and vertical scrolling as the table has many columns.
    Please give me step by step instructions so that it could be implemented quickly.
    P.S : I am using Oracle forms 6i.
    Thanks in advance,
    Yadnesh

    Hi,
    1. When i open the form only the fields added in the tab canvas are visible.
    Where u have drawn the stack canvas,you need to create in the main canvas where ur tab canvas is there and u need to drag it to tab canvas.Have u created the trigger when tab_page_changed?
    2. when i change the tab page from tab 1 to tab 2 and then again get back to tab 1, then the stack canvas fields are visible and the fields in tab gets invisible.
    Just place the stack canvas correctly after the fields in tab page 1.
    3. The stack canvas is not horizontally scrolling.
    Just go to the property palette of stack canvas and make yes to both horizontal and vertical to yes.
    Do i have to create a stack canvas separately? and then how do i drag it into tab canvas. i am still not getting this. because.
    when i open the tab canvas page i do not find the stack layout so that i can drag it like a normal text item.
    Yes u need to create a stack canvas separately. Just open the Mani canvas the tab pages are there, then in that click the stack canvas icon and create a stack canvas and create all the fields, and move the stack canvas to the tab page. And u need to create a when tab page changed trigger at form level.
    Regards
    Sri

  • 2 tab canvasses on a single window (form)

    Hi !
    Does anybody know of a way to put 2 tab canvases on a single window. I would like to place 2 tab canvases, each holding 2 tab pages, on 1 window. However, from the moment you use "new tab canvas page" he directly puts the page behind the other tab pages instead of starting a new one. I already tried working with stacked canvases or "new content canvas". Even if your new tab canvas page is inside a new canvas he keeps on putting the tab pages behind the previous tab pages.
    Would anybody know of a workaround ?
    Many thanks !
    Kris

    Hi Saeed,
    A possible solution to generate two tab canvasses on one window is the following:
    Add a (dummy) module component with (dummy) items between the last module component of the first tab and the first module component of the second tab.
    At runtime, you can make this extra module component invisible.
    So, in Designer you'll have the following Module Components, with property 'Placement':
    MC1. 'New Tab Canvas Page' -- first tab-page of first tab
    MC2. 'New Tab Canvas Page' -- second tab-page of first tab
    MC3. 'New Content canvas' -- dummy block, between two tab canvases
    MC4. 'New Tab Canvas Page' -- first tab-page of second tab
    MC5. 'New Tab Canvas Page' -- second tab-page of second tab
    HTH,
    Lennart de Vos

  • How do put a stack canvas inside the tab canvas

    Hi all,
    I have content canvas and tab canvas Now i want to put a stack canvas on the tab canvas .suppose tab canvas page are Page1,page2, page3 when i click the page1 then display the stack canvas 1,and when i click page2 then
    display stack canvas 3 ..... so on. help me to find the solutions to this Issue
    Thanks

    You would use the when-tab-page-changed trigger to use hide_view and show_view commands to hide one stacked canvas and show another.
    Just keep in mind that for a canvas to be displayed, the cursor must be in an item on that canvas, or at least in an item NOT covered by the canvas.

  • 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

  • Setting stacked canvas properties when inside a tab canvas

    Hi all,
    I grope setting the x and y position of a stacked canvas programmatically : I work inside a tab canvas , there is one multirecord based block which is split into two tab pages. The problem is that the x and y positions of each first item in each tab of the block are no the same. And I want to hide and show the stacked canvas on which is based the scrollbar of the block , according to the top_most_tab_page.
    The stacked canvas has the same width and height as the tab canvas ; it has viewport width set to the width of the scrollbar , say 0.415 ; it has viewport height set to the length of the scrollbar , say 1.833 ; the viewport X/Y position on canvas properties are set to 0.
    I tried to set the VIEWPORT_X_POS and VIEWPORT_Y_POS properties of the view programmatically to place the scrollbar just sticky with the first item when in each tab page , but the scrollbar is not displayed on the desired place. It is moved.
    So how to place the stacked canvas at the right position to be stuck with the left first item ?
    Thank you very much indeed.

    I did a little test and it works (it'll only take you 3 min)
    Create a new Form.
    Add 3 Canvases 1 Content and 2 Tab with the following Properties
    Content
    Vieport X Position on Canvas: 0
    Vieport Y Position on Canvas: 0
    Width: 540
    Height: 324
    Master Tabs
    Vieport X: 35
    Vieport Y: 20
    Vieport Width: 460
    Vieport Heigth: 280
    Detail Tabs
    Vieport X: 150
    Vieport Y: 95
    Vieport Width: 260
    Vieport Heigth: 160
    Then go to Layout editor and while viewing the Content Canvas go to the menu View -> Stacked View...
    From there select both tab canvases to be shown.
    Also add a dummy item (i.e a button )somewhere in the form otherwise nothing will appear when you run the form.

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

Maybe you are looking for

  • Using RowID to get the first instance of a value in a table

    I have a table of the structure SECURITY( COMPANY_ID NUMBER, SECURITY_ID NUMBER, CUSIP One company can have many CUSIPs asociated with it and I want to find the best way to find any valid CUSIP for the company_id using PL/SQL. Here is my approach, I

  • Index creation failed in Business Objects Explorer

    Hi, I installed the Business Objects Explorer ... But I can not index anything. When I try to index the following message appears: "Server, DRWBI001.PolestarIndexing, generated messages The Following: Index creation failed. File system Polestar excep

  • Also Transfer Problem with ZEN X

    Finally i decided it to buy a zen xtra. The player works fine, also the firmware update was no problem. But then i wanted to transfer my mp3 files to the zen, i used just the nomad explorer for that(Because although i read the readme, i didn?t manage

  • Screen Washed out?

    So my phone has been working fine since last august when i bought it (3G), however suddenly today the screen has gone very white, as if you've added a white layer in photoshop or something. I have dropped or damaged it in anyway, although i did put i

  • Windows Embedded POSReady

    Hi, I would like to ask about Windows Embedded POSReady? is it still available from Microsoft or replaced by Windows Embedded 8? or those are the same products with different naming? can anyone explain please? Also, is there a developer download for