Open form in a stacked canvas

Hello all,
I have a content canvas which has a stacked canvas on it. the content canvas i want to use as background and there will be buttons to navigate through different forms and have those forms called on the stacked canvas. Can u please tell me how to go about doing this. thanks

no they're just buttons which calls different forms..

Similar Messages

  • Stacked canvas is overlapping the content canvas

    Hi all,
    I am writing a program where I have one content canvas and a button to display the stacked canvas on button click. But when I run the form, 'only' the stacked canvas is showing-up even though I have hidden the stacked canvas in the on-new-form trigger.
    Can anybody please shed some light.
    Thanks,
    Naren.

    Hi,
    Assuming you have two or more datablocks:
    On the object navigator, move up (drag-drop) the datablock shown on the main canvas, so it apeears first.
    OR
    Open the Forms properties and set property: "First navigation data block"
    Regards,
    Hugo.

  • Stacked Canvas Layout and Design

    I am trying to create a canvas template for use in our development environment. What I am wanting to do is to create a header and a footer section on this template with a stacked canvas in the middle. This stacked canvas would hold all of the content, data and controls for each form. This stacked canvas is the only thing that would change. The header and footer would look the same for each form. I am trying to create something similar to an HTML page with frames that defines header, content and footer frames. I want the user to be able to vertically scroll only the stacked canvas while the header and footer stay in position.
    My question is: How can I use the tools in Forms Builder to place controls in the stacked canvas? The builder does not allow me to scroll the stacked canvas in design mode so I can't reach all the areas of the stacked canvas. Does this make sense?
    I am using Forms 10g.
    Thanks...

    It isn't exactly clear, but assuming you have a content canvas (which I like to call the parent) and a stacked canvas "stacked" on top of the parent the there are several ways to put objects on the stacked canvas. Probably the easest and clearest is to simply find the stacked canvas in the Object Navigator and double click on it. This should open the Layout Editor with the parent canvas window selected (white boarder) and the stacked canvas displayed on top and selected (black boarder). Now just draw your objects on it. You can verify that they are on the stacked canvas by looking at the Properties for each object. You should see where you can choose which canvas you want the object to be displayed.
    If this does not work, look in the Builder menu "View" > "Stacked canvas..." and ensure that your stacked canvas is not being hidden. If the stacked canvas is already displayed in the Layout Editor, this menu item may be disabled.
    I am assuming you are using Forms 10.1.2 or newer. Older versions will be slightly different.

  • Simple Problem with Stacked Canvas, I hope

    Hello all,
    I am become a bit frustrated with what I thought would be a simple form development solution. I am trying to create a form with a stacked canvas that will display about 20 fields that can be scrolled through. This is the detail
    Total of 25 fields
    5 Fields on the content canvas
    20 Fields on the stacked canvas
    I created the first canvas that originally contained all 25 fields. Then I created the stacked canvas and moved the appropriate fields to the stacked canvas. Using the forms builder editor, I positioned my stacked canvas as such so that it would not overlap the last field on the content canvas or visa versa. This is a form being developed for Oracle EBus. Whenever I run the form in the apps, the stacked canvas is not visible. It only becomes visible when the 1st field on the canvas has focus. When the stacked canvas becomes visible, it shows all of the items of the stacked canvas and not just the ones that I included in the viewpoint. Once I tab through the last field of the stacked canvas, it goes back to the first field on the content canvas and the stacked canvas disappears. At this point I am not doing anything complicated, but for whatever reason this just is NOT working. Any advice anyone can provide, I would very much appreciate it. This is VERY frustrating.
    Thank you in advance.

    Step No. 1
    Set the STACKED CANVAS's property VIEWPORT WIDTH AND VIEWPORT HEIGHT
    This property determines what viewable width and height of the stacked canvas at runtime.
    Set SHOW HORIZONTAL SCROLL BAR or SHOW VERTICAL SCROLL BAR or BOTH as YES so that you can scroll down to view all the items in the CANVAS.
    Step NO.2
    In your WHEN-NEW-FORM-INSTANCE trigger, write the code to make the canvas visible
    SHOW_VIEW('stack_canvas_name');

  • Stacked canvas on tab canvas

    Hi,
    I want to show a stacked canvas on a tabbed canvas. on stacked canvas, there are many fields that cannot be put on tabbed canvas and i must have to put these on stacked canvas with scrollbar.
    How can i put that stacked canvas on tabbed canvas?
    Regards,
    Qasim

    Hello,
    When the Layout is open, just add the stacked canvas by selecting it in the tool bar and drawing its bounds onto the tab canvas.
    Francois

  • Stacked canvas background color

    How on earth do I get the background color of my stacked canvas to be the same as the rest of my form (the default forms grey color)? I have both my main canvas and stacked canvas on the same visual attribute, all with background & foreground colors set to unspecified (at both the canvas and visual attribute level). No matter what, the background of the stack is white. I've tried setting it at runtime, but the color is slightly different on each machine used. I've tried everything I can think of -- any ideas? Thanks.

    Well the problem is that we want the background surrounding our main canvas to be white (that way the tabs up top are white too) and the form itself in the main canvas to be the default grey (that is our standard). Changing the background to gray or some other color in the visual attribute changes both the white background and the default form's grey to that one color, which doesn't really fix the problem at all. If it's left as unspecified, we get the white background and the default forms grey for the background color of the form. The stacked canvas always wants the white.

  • Show stacked canvas when form is opened

    Hi,
    I'm working with forms 6i. My form has one multi-record block. Due to the amount of fields that need to be shown we split the block across 2 canvases, the first fields are shown in the primary canvas and next to it is something like an overflow, a stacked scrollable canvas.
    The form is opened in query mode. In the beginning we only see the items on the primary canvas. Only after the user has executed his query and navigates (with tab) to the first item on the stacked canvas this one is shown. From that moment on the stacked canvas stays visible.
    I want to change this behavior as such that the stacked canvas is visible all the time.
    I tried to solve this using show_view in the when-new-form-instance trigger but the result is not what it should be. The view is shown but not in the same way as you would see it when you properly navigate to it. The alignment is totally out of control.
    Any ideas, suggestions, are mostly appreciated.
    Kris

    Steve,
    To maybe make things a bit more strange then they're already.
      GO_ITEM('DEELNEMERS.DROOMPLOEG'); -- Item in stacked canvas
      SYNCHRONIZE;
      PAUSE;
      GO_ITEM('DEELNEMERS.CODE'); -- First item (on primary canvas)It works with above code but not without the pause.
    I'm really confused here :-),
    Kris

  • Stacked Canvas Problem in oracle 6i form builder

    Hello,
    i have 2 content canvas "DTL and PUNCH",1 tab,1 horizontal canvas in window1 and 1 another content canvas "parameter" in window2.
    i have created a stacked canvas under dtl canvas because
    I have a master-details form. my details has more columns so im planing to use stack canvas.
    but at run time it is not displaying?
    please help me regarding that?
    Thanks
    With Regards
    Vishal Agrawal

    hello,
    then you should set viewport x and y position of stack canvas below the height of button in DTL block.
    means If button y position = 170 then
    viewport position of x = 5,
    viewport position of Y = (y position of button + height of button+5) . (for Stack canvas)
    Same way,
    If stack canvas height = 270 then
    viewport position of x = 5,
    viewport position of Y = (viewport position of Y of stack canvas + height of stack canvas+5) . (for Tab canvas)
    PS

  • Stacked Canvas question in Forms [32 Bit] Version 10.1.2.3.0 (Production)

    Hi Friends, I am not sure if my explanation will suffice for resolution to this easy problem that is causing me so much grief.
    I have a form with one content canvas ROOT_CNV, One tab canvas TAB_CNV with two tab pages and One STACK Canvas Stack_CNV.
    All these canvases are on one Window ROOT_WINDOW.
    The tab canvas (TAB_CNV) is tabular in nature.
    There is a menu button that you can press that switches one record in the tab canvas and place this record in the stack_cnv. All the fields on the stack_cnv are mirror_image of the Tab canvas record that is the items are synchronised.
    NOW THE PROBLEM. When you press the switch button and you are in the stack canvas and you try to query any record, the form will take you back to the tab canvas and the fields will freezes, there are lots of forms here with this functionality that woks, but I cannot figure out while this particular one is behaving lke this.
    I have made the Stack canvas smaller, however, the issue is till the same, I think it has to do with the stacking order and I had already rearrange this to know avail, any suggestion will be appreciated.
    Thank you.
    Tab canvas
    Page 1        Page 2
    *===== ========*
    record     proj              sub         Status
    *1 A 1 ACTIVE*
    *2 B 1 PENDING*
    *3 C 1 ACTIVE*
    *4 C 2 ACTIVE*
    Click on the Menu Icon on record 1, then the stack canvas shows up (Stack_CNV) in a form Format
    **STACK_CNV* Page1 Page2*
    *===== =======*
    Prog:       A                Sub  : 1
    Status :   ACTIVE
    The tab pages still shows up on the stack canvas which is okay, however, when you try to query from the stack canvas, it takes you back to the tab canvas and everything freezes. Both canvas are on Root_cnv content canvas.

    Hi Ade2
    Pls Create a KEY-ENTQRY trigger at the form level add the following code :
    GO_BLOCK('dept');
    CLEAR_BLOCK(no_commit);
    ENTER_QUERY;Hope this helps...
    Regards,
    Amatu Allah

  • Tab-Canvas and Stacked-Canvas (Forms 5.0)

    Is it possible to design a tab canvas that contains stacked-canvas? I can't create it!

    Yes - it is possible to design a tab canvas that contains stacked-canvas. Create a separate canvas with its own block and you can call go_block and the canvas/block will show. You can also call show_view but the canvas you call must be of the type stacked. (aside - a tab canvas seems to automatically act like a stacked canvas). I have used a canvas w/block that sits at the top of the screen by setting it to be only 60 points tall (and it is the first block in the list) then in a when-new-form-instance trigger I call show_view('tab canvas name') and have its viewport begin at 60, therefore the tab canvas fits right under the header canvas. You can then leave this to call other canvases/blocks and return and set up the same situation again. Sometimes I have gotten strange results where no matter what I do it will not show the tab canvas - at this point usually you recreate what won't show and it will then work.
    good luck.

  • How to use stack canvas in tab canvas in oracle forms

    hi all,
    how to use stack canvas in tab canvas in oracle forms. please if any one help out in this.

    Hi
    u can simply create a button in ur tab canvas in this button pls write the following as an example...
    SHOW_VIEW('STACKED_CANVAS');
    GO_ITEM ('SAL'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    HIDE_VIEW('TAB_CANVAS');In order to return back to ur tab_canvas pls create a button in this button pls write the following...
    HIDE_VIEW('STACKED_CANVAS');
    SHOW_VIEW('TAB_CANVAS');
    GO_BLOCK('EMP');
    GO_ITEM ('EMPNO'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    Hope this helps...
    Regards,
    Abdetu...

  • ORACLE--D2K--FORMS 6i--STACKED CANVAS

    What is the USE OF STACKED CANVAS?

    Hi Gerd,
    I believe this is a forum for Experts,Intermediates and as well as for Beginners.So every man has his set of questions.Yes If some one ask silly questions there should be no response at all for that.I just feel it because this forums help me immensly.So Please don't take it Personally.
    KarTiK.

  • Stacked Canvas issue

    1st issue:-
    I have created 3 pages layout under same .fmb
    Out of those , page1 I have made in content canvas & 2 layout(Say page2 & page3) I have made in two different stack canvas.Page1 contain two text field- 1.NAME 2. PROFILE CODE.
    when user open it page1 (content canvas) & page2 (1st stack canvas) should show .For a specific value in PROFILE CODE (say JAPAN) profile code (page1+page3) should open.& for all other profile codes (page 1+page2) should remain,irrespective of whatever value in NAME.
    Please tell me how can I do this??
    1. Please help me with a sample code & also where (in which trigger) I should write the condition.
    2. What all changes are required in property palette?
    3. will both the canvas will be on the same window?
    2nd issue:-
    I have tried
    In the Object Navigator, under the Canvases node, double-click the content canvas' object icon. In the Layout Editor, choose View | Stacked Views.
    and could see both the page1+page2 there from layout editor.
    BUT while I run it its showing only the page1(content canvas)
    Please help me out.....
    Thanks in advance..
    Edited by: 977083 on Dec 29, 2012 5:09 AM

    If I put it like this In WHEN-NEW-FORM-INSTANCE trigger check the PROFILE CODE and display the stacked canvas based on the value in PROFILE CODE---
    Then content canvas will be shown first(Page1) ,then user will select profile code, depending upon the profile code selected ,either page2 (stacked canvas) or page3(stacked canvas) will be shown.
    But I want whenever user opening the form ,page1 & page2 should show by default.then user will select profile code.if profile code is for page2 ,it should stay in that (default) page only.If profile code is for page3 then it will automatically go to page3 along with page1.

  • BOSSY STACKED CANVAS

    I have a simple form with two canvases, one content and one stacked.
    When I run the form, the stocked canvas always displays first despite having the property 'display on entry' set to 'no'.
    I have only encountered this problem having converted the form from version 4.5 to version 6i! It worked fine in version 4.5!
    What am I missing??

    Maybe, while opening your form, you're navigating to an item on the stacked canvas as first action (or you have no navigable item on the content)...
    Check out what happens using hide_view/show_view built-ins.
    Bye Marco

  • How to change the order of columns displayed in Stacked Canvas

    Dear Member,
    I have a Stacked Cavas which has many Items. How do i change the order of the Items displayed when the form is opened?
    I checked the X-Position in the property palette of each item, all the items have an X-position=0. I am really confused how do i change the order of the columns which are displayed in the stacked canvas when opening the form.
    Any help is greatly appreciated.
    Thanks
    Sandeep

    If i Try to use SET_ITEM_PROPERTY('BLOCK.ITEM', X_POS, myXpos);
    then it will increment each item X Position. The Total Stacked Canvas width i have is 9 and there are total of 36 items in the stacked canvas each of equal width 1.1,
    so the total becomes 38.5 which is greater than 9.
    I saw all triggers in the code, i dont see any code which exclusively determines item positions at run time. As i said before all the items have X position as zero but still they come up nicely.
    i HAVE A button in the form and following is the code which is written in when-button pressed trigger :
    show_view('DETAIL_CNT');
    GO_BLOCK('XX_PA_BUDGET_DTL_BLK');
    where DETAIL_CNT is the content canvas and 'XX_PA_BUDGET_DTL_BLK' is the data block in which items from both stacked and content exsist.
    I dont understand why this is happening.
    Thanks
    Sandeep

Maybe you are looking for