Tab canvases

Hi, Have not used Oracle Forms for awhile. Can someone tell me how to create multiple tab canvases.
Thanks,
nancy

No need to reply. I have the old version of forms. DBA is updating for me now.
Thanks,
nancy

Similar Messages

  • Calendar doesn't work with tab canvases

    If you generate a form (at V6) which has tab canvases on it, & also has a date item with LOV against it, you hit a problem with Headstart code's handling of the canvases. If you use the calendar LOV, when the calendar pop-up is de-activated, the tab canvases have disappeared from the main window.

    Lauri
    I went back & had another look at this, & realised that it's the same forms problem I was hitting with the combination of multi-select LOV and spreadtables. It's only happening when the calendar LOV is fired on a block which has a spreadtable, & where the next block on the form is a tab canvas. Is there a bug number for this problem, so I can track it? Thanks for the solution you provided earlier, but we're doing 100% generation here so I'd rather not be making post-generation changes to code.

  • Problem with Two tab canvases in a form

    Hi Experts,
    I am working on Oracle forms 10g (OS: Windows7) from last 1 year. I have got a requirement to create a form with one tab canvas CAN_TAB (with 2 tab pages) in main page and a pop up tab canvas ASN_SPLIT_TAB(with 2 tab pages). Now the problem is whenever we click on tabs it will fire WHEN-TAB-PAGE-CHANGED trigger and executes the complete code. As a result even if i click a tab page in CAN_TAB canvas it will fire for ASN_SPLIT_CANVAS as well. Check the below code (WHEN-TAB-PAGE-CHANGED). Now i have to differentiate between two tab canvases so that i can use IF-ELSE statement to overcome this problem. Please share your useful comments.
    BEGIN
    Lv_Toppage := Upper(Get_canvas_property('CAN_TAB',Topmost_Tab_page));
      if Lv_Toppage = 'LINES' THEN 
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_LINES');
      show_view('CAN_SCROLL');
      elsif Lv_Toppage = 'ATTRIBUTES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_ATT' );
      elsif Lv_Toppage = 'AUDIT' THEN
      go_item('shipment_summary.confirmedby');
      show_view('AUDIT');
      end if;
    Lv_Toppage := Upper(Get_canvas_property('ASN_SPLIT_TAB',Topmost_Tab_page));
      IF Lv_Toppage = 'INVOICE_SPLIT' THEN
      show_view('ASN_SPLIT_STACK');
      go_item('ASN_INBOUND_CATEGORY_SUMMARY.brand_representitive');
      ELSIF Lv_Toppage = 'SUPPLIER' THEN
      go_item('CONTROL.cancel_but');
      END IF;
      hide_view('ASN_SPLIT_STACK');
    END;

    Thanks Craig. You made it happen..!! Below code is working fine for me.
    IF :SYSTEM.tab_new_page = 'LINES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_LINES');
      show_view('CAN_SCROLL');
    ELSIF :SYSTEM.tab_new_page = 'ATTRIBUTES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_ATT' );
    ELSIF :SYSTEM.tab_new_page = 'INVOICE_SPLIT' THEN
    END IF;

  • System.Tab_New_Page - with multiple tab canvases

    I'm not sure if this is a bug or not, but here goes. Forms 10.1.2.0.2
    I have a form with TWO different tab canvases - Orders_TC and Lines_Tc (Orders Tabbed Canvas and Lines Tabbed Canvas). The Orders_TC has 3 pages - page1, page2, page3 and the Lines_TC has 5 pages - page1 through to page5.
    Now - in the When-Tab-Page-Changed trigger, inspecting System.Tab_New_Page simply gives me "PAGE2" - but - WHICH "PAGE2" - how do I determine if it was PAGE2 of the Orders or Lines canvas?
    Obviously employing some naming standard on the tab pages would resolve the problem, however, I would have expected System.Tab_New_Page to return either Orders_Tc.Page2 or Lines_Tc.Page2.
    Am I missing something? Or is there a way to determine which PAGE2 it is?
    Any help appreciated.
    Regards,
    Bren

    How about :system.event_canvas
    I just tried it and it works in 6i forms. Not documented in the help, but seems to work. I just guessed at the name.
    Returns the name of the canvas that the tab page was changed on.
    --pat                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Spread table on tab canvases doesn't work

    Hi,
    I've got a form with a master/details block.
    The detail blocks are on tab canvases and are multi-records. I'd like to have spread tables, but it doesn't work.
    Is it a normal behaviour ?
    I'm working with Designer 6.0.3.5.0
    Thanks for your help
    Dominique

    Are you really sure?
    Once I had to generate a Form with such a requirement. On Metalink I found that it was possible with 6i.
    Eventually, the requirement was changed, so I didn't generate the Form and have tried it myself.
    regards,
    Harm

  • # of tab canvases dependant on the # of groups that come back from a query

    Hi,
         I'm trying to create a dynamic creation of blocks, and tab canvases dependant on the number of groups that come back from a query. If 4 groups come back then I desire 4 tabs with the appropriate data in each tab.

    Basically Forms is not intended to build screens programmatically but it is possible to kluj it. Here's what you could do.
    Create a form with (say) four tabbed canvases, enough to fill the display. Each canvas has its own block. Then you have video style buttons - Fwd, Bk, FFwd FBk - and just scroll the blocks across when the user clicks the button.
    Did you enjoy the use of the word "just"? Sounds easy, doesn't it? In practice, what you need is an array that ties the filter criteria to the canvas number. Then you shuffle the canvases by applying the appropriate WHERE clause using SET_BLOCK_PROPERTY and then executing a query.
    The problems with this are obvious and the same as any dynamically generated UI. It will perform badly (each navigation to a canvas will trigger a fresh query, plus there's the overhead of managing the stack). Also it is fragile: there's lots that can go wrong.
    So you need to ask yourself what it is you are hoping to achieve. Can you deliver the same business function some other way? As another poster has pointed out, this is just a glorified master-detail form - the filter criterion being the master. Building this as a classic two block master-detail Form is more straightforward and more robust.
    Regards, APC

  • Forms 6i - Two Tab Canvases

    Hi. I have a form with 2 canvases of the Type 'Tab'. The first is named 'top canvas' and second is named 'bottom canvas'. Each tab canvas has 3 tab pages under it.
    My problem is that when the user clicks one of the 6 tab pages I need to determine which tab page was clicked.
    I was able to do this when I had only one canvas of the Type 'Tab' by doing the following:
    tp_nm := GET_CANVAS_PROPERTY('TOP_CANVAS', topmost_tab_page);
    tp_id := FIND_TAB_PAGE(tp_nm);
    tp_lb := GET_TAB_PAGE_PROPERTY(tp_id, label);
    IF tp_lb LIKE 'Details%' THEN
    go_item('to_do_mteam.hide_cursor');
    ELSIF tp_lb LIKE 'Droppers To Call%' THEN
    go_item('dropper.hide_cursor');
    END IF;
    But since I now have 2 canvases of the Type 'Tab' I can't hard code the canvas name (e.g. 'top_canvas') like I did above because the tab page could be on either the 'top_canvas' or the 'bottom' canvas. And BOTH canvases will always have a topmost_tab_page.
    Can anyone advise me on how to solve this issue? Any help would be greatly appreciated!

    :system.event_canvas
    Not documented. See thread here:
    Re: System.Tab_New_Page - with multiple tab canvases

  • Navigate to a tab canvases programatically at runtime

    Hello everybody,
    Actually i am trying to build a form with a content canvas contain buttons ("NEXT" and "Back"), there is a stacked tab canvas in the content one.
    what i want to do is to navigate to the tab pages whenever the user press the buttons,as example if the cursor is on page_1 and the user pressed NEXT button the cursor should move to Page_2 and so on , is there any built in could help me in these, i tried to use go_block in trigger WHEN-TAB-PAGE-CHANGED to navigate to the block on a specific tab page but i noticed that the :system.tab_new_page dosn't changed to the new tab unless you click on the tab page.
    Many thanks for reading
    Muhammad Ghoneim

    Dear Marcos,
    Thanks for replying and help, it was much appreciated
    actually i solved these by setting a global variable and equivalent to the :system.tab_new_page value so when i navigate to each tab i setting the global variable by the new tab, so i don't need the :system.tab_new_page value any more, even the user didn't click the tab page.
    thanks again
    Muhammad Ghoneim

  • Scroll bars in tab canvases

    How to enable scroll bars in a tab canvas in order to scroll through the tab canvas using forms 6i
    kamal Mukhtar

    Thanks!
    I found the setting for "Show Scroll Bars."  However, I can't find the setting for the scroll-bar width.  How do I adjust scroll-bar width?

  • Forms tab canvases

    Hi,
    Does anyone know how can I set the colour of the background and foreground on the heading of each tab page?
    Wright now,I'm setting the tab page visual attribute,but Forms is showing some others colours on the tab pages headings.
    I'm using forms 9i.

    Hi Frank,
    In the layout editor,background and foreground colors are exactly the ones I'm setting.
    I'm not having any problems with the lowercase or uppercase of the chars,but with the colors.
    But in runtime,these colors are changing to some colors depending on the LAF.
    Isn't really some other way to set them?(when I've changed the LAF,they changed too)

  • Forms Tabbed Canvases

    I have got a tabbed canvas on my form. I can change focus from 1 tab to another even when the current record/item fails validation. This validation will only fail once I am in the other tab page. How can I make sure I am not able to move on to the next tab page until the item/record I am on is validated ?
    Thanks in advance

    I use a when-tab-page-changed trigger to move the cursor to the first item on the corresponding tab page. If the Go_Item fails, error processing on the first tab page forces the cursor to stay in the item where validation failed, and the first tab page will remain in view.
    -- When-Tab-Page-Changed form-level trigger                          --*
    Declare
      new_pg   varchar2(30) := :system.tab_new_page;
    Begin
      If new_pg <> get_item_property(:system.cursor_item,item_tab_page) then
      -- cursor is on a different tab page.  Need to navigate to an item
      -- on the requested tab page.
        If new_pg = 'TAB1' then
          Go_item('BLOCK1.ITM_1');
        elsif new_pg = 'TAB2' then
          Go_item('BLOCK2.ITM_1');
      end if;
    End;

  • The Forms LAF Project - Gradient Color for Tab Canvases

    Hi,
    I have the following two issues.
    1. It appears that the Gradient Color works only for the first Tab.
    The rest of the tabs are not changed.
    1.1 I can see some delays during the 'coloring' process. Basically I can see the original color and then the Gradient color being applied.
    2. I can also observe the original color around the tabs. Not all canvas is colored.
    This is also is visible in a doc images in a white paper.
    Please advise.
    Thanks,
    Michael

    Hello,
    This is true that the Forms standard Java function used to set the background color of the unselected tabs does not make the job, and I do not know why (no action and no error). I think that it could come from the colorscheme selected.
    Secondly, the delay comes from the fact that the tab is painted after the Forms standard process.
    In fact, it is not always possible to overwrite all the Forms standard behaviours, I'm affraid.
    Francois

  • Xcelsius Engage 2008 - copy and paste in Tabs/Canvases

    I am trying to copy and paste grouped or un-grouped components from one tab into another tab/canvas. The grouped components get pasted into the new tab/canvas, but are also duplicated in the original tab/canvas. When I delete the duplicated components from the original tab/canvas, they get deleted from the new tab/canvas. Does anyone know how to effectively copy and paste from one canvas to another?

    Hi Susan,
    As far as I remember, I too got this issue sometime back and was addressed by installing the latest service pack/fix pack; the version 5.1.1.0. Try getting the latest one from the site and see if it fixes your issue.
    Good Luck!!!

  • Tabs and stacked canvases ...

    Why are tab canvases effectively implemented as stacked canvases? It seems crazy that you have to first create a "content" canvas (which will never have any items placed on it) on which to display your tab canvas!
    I want to create the layout where I have a stacked canvases (scrolling spread table) positioned on one of my tabs. As a stacked canvas is attached to a "window" there appears no way to tell forms that this stacked canvas applies to say the first tab! So when I go to the second tab, the stacked canvas is still visible!
    Do I have to write canvas manipulation code to manage this?? Am I going to get it to work??
    It all appears like the forms group has taken a quick (and dodgy) approach to "finally" implementing native tab functionality! (even the case tool won't generate this layout)
    I shouldn't have to write code to do this!

    Hi ,
    Did u ever get any answer from the Forms - group? I am having problems with stacked item groups displayed on a tab page. Mouse navigation on that same tab page or even shift-TAB results in dissapearance of the stacked item groups.
    Can U help?
    Greets Aschwin

  • How to change content/stacked canvases to tabs

    Hi all,
    I have created a form which has one content canvas and multiple stacked canvases. The content canvas displays the first page and then we hv to click on next to go to the next stacked canvas and so on (I have about 10-12 canvases, 1 being content and the rest being stacked). I now want to make all those canvases as tab canvas so that it can be very easy going to any canvas. Right now, at runtime, if I'm on the 8th canvas and need to make some changes in the first canvas, I have to click on the back button all the way till I reach the first canvas. So I desperately need to change my canvases to tabs.
    Can you guys please give me a detailed instruction on how to convert my content and stacked canvases to tab canvases. I have never worked on tab canvas. I tried one, I changed one of my present stacked canvas to tab but all the fields and texts were gone and there were just two tabs in it.
    Please suggest. Thanks to all in advance.

    Thanks for replying. I just need to move the items to the new tab canvas but everything else would be the same, right. I mean, will I need to write new codes? Can you point me to any documentation on this. Thanks.

Maybe you are looking for

  • New purchases not syncing to iphone iTunes 11.0

    I recently bought an album and I'd like to get that album on my iPhone 4S.  For some reason, it refuses to sync it to the phone.  When I browse through the music on my phone via iTunes, it shows the music in a playlist I created, but each song has a

  • Cannot install Windows 7 (64-bit) with Bootcamp

    I tried to install Windows 7 64-bit on a MacPro running MacOS 10.6.7 with Bootcamp Version 3.0.4 (325). I get the following hardware information from 'About This Mac': Model Name:          Mac Pro   Model Identifier:          MacPro1,1   Processor Na

  • "Access Denied" opening PDF from network UNC path.

    Can't open pdf file from network path when opening from Adobe Reader any versions. Opening other files such as word, excel etc that is not opening in Adobe Reader works just fine. Steps to reproduce bug: Create a shared folder with three folder deep.

  • Streaming music to the home stereo

    I'm trying to figure out how to send streaming video to my stereo in the living room from my bedroom. I have a G5 Mac running OSX 10.6.2, connected to an Airport Extreme. What do I need to send streaming audio (preferably Pandora music) from the iMac

  • Pl/sql gateway timing

    Hi, does anyone know how to measure the time it takes the mod pl/sql gateway to render the htlml in apex?