A doc about stacked canvas , viewports ....

Hi,
Is there any doc which depicts the relation between stacked canvases , viewports , windows...????
In other words , i need a doc which presents graphically the display of the above regarding the size of the windows , viewports , ....and their coordinates......
Note: i use Devsuite 10g and/or Dev6i....
Thanks a lot,
Sim

May be this one: From (always) Francois Blog:
http://sheikyerbouti.developpez.com/tutoforms10g/tutoforms10g.htm

Similar Messages

  • Question about stacked canvas disappearing

    Hi,
    I have a block which has some database items and non-database items. Since
    there are many items in the block, I use a stacked canvas with horizontal bar
    to display the less important items.
    In the trigger of new-block-instance, show_view('stacked_canvas')
    But I face one problem. When I click on a non-database item and then move
    the cursor away from the item, the stacked canvas suddenly disappears.
    Any idea ?
    Many thanks in advance

    Imagine each canvas as a piece of paper stacked on a desk. Each piece of paper possibly has a different size and the top left corner of each piece is possible oriented in a different spot. When you say show_view('stacked_canvas') its like reaching to the bottom of the pile and putting that canvas top. When you click on an item not on the stacked canvas that items canvas is placed on top. Your problem is that your non-database item content canvas is covering up the stacked canvas. I think...
    Your issue could be solved by simply rearranging the canvas order by putting the stacked canvas last (I think) in the object navigator.
    Raise on Entry could also be causing your issue. Go to the help. Click the search tab. Type "raise on entry". Read "Working with the Raise on Entry Canvas Property". There is a good explanation in there on how stacked canvases get covered up by content canvases and when.

  • Content canvas to stacked canvas for scroll bars

    I have a form which has more items. Initially I developed the form with content canvas(this has vertical scroll bar). now I changed this canvas to stacked canvas to get horizontal + vertical scroll bar. But I am not able to do it. Can any one please advice me how to achieve. Basically I need horizontal + veritcal scroll, so that user can easily scroll it.
    Appreciate your help.
    Thanks in Advance!!

    Hi
    This is a common task in Oracle Applications forms, the steps would be:
    - Put the context, fixed fields on content canvas, to the left of the window
    - Modify the block to show vertical scroll bar, display it on content canvas, to the right of the window
    - Accommodate remaining fields on stacked canvas, all of them from 0.0 to the right.
    - Modify stacked canvas viewport size and position to be shown in the space between the fixed fields on the content canvas and the vertical scrollbar on it, allow for space to the horizontal scrollbar
    - As Craig's answer states, modify stacked canvas property to show horizontal scrollbar

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

  • Tab Canvas displaying Stacked Canvas at runtime disappears?

    Hi,
    I have 3 canvases that contain the following:
    1) Content Canvas -- This contains the TREE item.
    2) Tab Canvas -- A tab canvas with a single Tab Page
    3) Stacked Canvas -- This is a Stack Canvas with a few
    text items on it.
    4) Single Window.
    ======At runtime the following actions occur: ==========
    1) The Viewport of the stacked canvas is set to the
    Viewport of the Tab Page on the Tab Canvas so that it
    looks like the Tab Page has a vertical and horizontal
    scrollbar with text items displayed.
    2) A text item on the Stacked Canvas is in focus as soon
    the as the form window is displayed.
    ===================Problem is : =====================
    1) When I select a Node of the Tree Item, the Tab Canvas
    automatically disappears(or becomes invisible) , as a
    result the stacked canvas displayed within it at
    runtime also becomes invisible. I am left with only
    the Tree item being displayed.
    =======================================================
    PS : I have never experienced this problem with just the
    content canvas and the Tab Canvas together.
    Any soultion to this problem is most appreciated.
    Thanks
    Sharath

    I am experiencing the exact same thing. The width of the tabs in the layout editor is varied depending on the length of the text. However, at run-time, the width of the tabs is fixed, causing the tabs to be wider than the window and a set of VCR buttons to appear in the upper right corner of the canvas. Personally, I think this is a Forms bug. Why would they intentionally let us set the width to variable at design-time only to force a fixed width at run-time?

  • Hi stacked canvas blinking...

    Hi
    I am using oracle form 6i
    Actually i have two canvases
    1.content
    2.stack canvas
    In contend canvas i have a button when button pressed trigger
    show_view('canvas_transaction');
    when i pressed the button
    its blinging and not visible for long time...
    Thank u...

    u3 wrote:
    I appreciate the overlap issue and mentioned it in my first response, and I expect that changing the size or positon of the item or canvas is the most appropriate solution. Without knowing the full requirements I left an incomplete response, thinking that a dialogue would get the problem fixed. I don't think it's right to suggest navigating to the canvas as the only solution, omitting other possible solutions. My first response could have been better though.
    I never suggested that navigation to the canvas is The Only Solution I have always said and in many posts that: "+Beauty of Oracle is that you can reach the same result in 100s and 1000s of ways+" You can have 100s solutions for the same problem.
    No one is omitting any other solutions, You mentioned the overlapping issue in your first post asking the OP if that was the case, I merely explained to the OP why that happens, assuming if the OP knew about the overlapping issue, he/she would have solved the problem, and my second post was in response on your comments.
    It is not a must to navigate to an item that resides on the stacked canvas, but it's a good way to solve the overlapping issue in this case.
    Tony
    Edited by: Tony Garabedian on Sep 8, 2008 3:02 PM

  • Scroll Bar on Stacked Canvas [Solved]

    Hi,
    I am trying to do the following. I have a form FORM A. Another form FORM B is called with a click of a button on FORM A. FORM B is having 2 blocks each on a stacked canvas. BLOCK 1 is master block and BLOCK 2 is detail block. Table on which BLOCK 2 is based on has 200 columns. Below is the property set for this block.
    1. Number of Records Displayed: 1
    2. Record Orientation: Vertical (To see 200 columns vertically).
    Now issue is that only 20 records (columns actually) are displayed in the viewport. And user has to tab out to go to next record (column).
    I want to put a vertical scroll bar here so that user can scroll down. I am not sure how to achieve this. Will scroll_view work in this case?
    Forms Version: 6i
    Thanks and Regards
    Amit Trivedi
    Never Mind got it working now.
    Edited by: ATrivedi on Jun 18, 2009 5:06 PM

    Set the Block2 canvas property
    Show vertical Scrollbar -- yes
    Please mark helpful/correct
    kanish

  • Tab canvas disappear when the main stacked canvas reach the end of column

    Hi all,
    I have 3 canvas ( 1 main canvas, 1 stacked canvas ) and this link to 1 tab canvas. All these are in the same window.
    Whenever using the keyboard to press enter navigate from column to column and when it reach the end of the main canvas which is about to jump to the stack canvas, the two canvas ( stacked & tab ) was hide by itself. Even I have stated earlier to show all canvas in the pre-block trigger. when I keep on press the enter to jump to the next stacked canvas, this stacked canvas is being shown again. My tab canvas was not appear if I am press the enter key. However, if I press the arrow key down the tab canvas is appear. This I wasn't do any code to call the tab canvas.
    When I keep on press enter and reach the end of the stacked canvas again the tab canvas is disappear, unless I have press the arrow key down to display the tab canvas.
    Trying to use show_view( tab canvas ) in many trigger but still does not show the effect.
    Anyone has this experience before ?
    Thanks.
    Lim

    Hi Lim
    Pls check this hope it helps u to recognize dealing with muti-canvas in 1 window...
    how to use stack canvas in tab canvas in oracle forms
    Regards,
    Amatu Allah.
    Edited by: Amatu Allah on Sep 22, 2011 2:23 AM

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

  • Stacked Canvas - FRM-40202

    I having this problem with my form. I getting a FRM-40202 error when trying to run my
    form which has two stacked and 1 content canvas.I have tried hiding the canvas.
    hide_view('canvas150'); go_item('control_block.pwo_nbr');
    AURUT is the content one.
    canvas150 is the stacked canvas I don't want to see.
    AWR is the stacked canvas i would like to see.
    the data blocks are as followed:
    reports
    range1 and range 2 are associated with the canvas150.
    range 3 and range 4 are associated with the AWR canvas.
    The first problem I have is that the AURUT canvas has the canvas150 canvas on top of it
    I tried deleted the canvas150 canvas and recreated it but it is still on top.of the content one and I also have a stacked canvas(canvas150) in my form.
    I think that my form is corrupt. How can I fixed this problem without redoing the whole form? I tried created a contol_block and assigning the items to the control_block in my program unit. But I still see canvas150. I getting frm-40202 error. What I have read about this error is that a field in my canvas150 needs to be filled in before it will allowed me to continue to the next canvas(AWR). I don't even want to see canvas150 while I processing the items on AWR. I'm lost as to what i can do to fixed this problem. If I changed the field in question in canvas150 to "NOT REQUIRED" my form crashes.
    I didn't have this problem with my first stacked canvas. Introducing my second stacked canvas has cause this problem.
    Thanking in advanced

    If I changed the field in question in canvas150 to "NOT REQUIRED" my form crashes.This should not happen. What happens when it crashes? Is there an error message when the crash occurs?

  • Stacked canvas in content canvas desapears when post_query

    Hello.
    I have a content canvas and i draw a stacked canvas into content canvas. I want a horizontal scroll in stacked and a vertical scroll bar in the content. In stacked canvas, i placed a base table data block. In when-form-instance, i have a comand SHOW_VIEW of stacked canvas.When i execute_query, the stacked canvas desapears. I don't understand why...
    This is Developer 10g
    Please help me.
    Best Regards

    I have seen that too, with tab canvas, which is like a stacked canvas.
    On mine, it occurs after a clear_form and synchronize, but before I execute any queries (there are multiple blocks and queries).
    So what I added was this, following the Synchronize:
    Declare
      Tab_View_id      Viewport     := Find_View('TAB');
    Begin
      if get_view_property(Tab_View_id,Visible) = 'FALSE' then
        show_view(Tab_View_id);
      end if;
    End;I actually put the Tab_View_ID variable into a package spec, so Forms only needs to set it once.
    If you can't find the right place to add the code, a form-level when-new-item-instance trigger will work.

  • Stacked canvas and bean area

    Hi
    i have a bean area which display graph placed on a stacked canvas. i have set the stacked canvas to show the horizontal scrollbar. i want to allow user to scroll through the stacked canvas when the graph increase in width.
    in my program, the bean area width would be dynamically change - increase the width depending on the number of data using
    set_item_property('NAV.BA',WIDTH,690).
    but the bean area does not seem to increase in width even when i set the property. why is it so?
    appreciate any help. thx.
    Siti

    Hi,
    did you try to change the size of the bean display that runs in the BeanArea. The bean area should adjust to the size of the bean displayed. I didn't find a bug filed on the issue of not being able to set the width and height of a JavaBean container. But I could find one for Forms 6.0.5 that was fixed in 6i about not resizing the bean container according to the resize of the embedded bean area.
    If this doesn't solve the problem I recommend contacting customer support at metalink.oracle.com
    Frank

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

  • Stacked canvas as a tab element

    I am working on a form say 'A'. In this form, I have a tabbed canvas 'B' with 4 tabs.
    I created another stacked canvas 'C' on which there are elements from 3 different blocks. Now I need to make this stacked canvas as an element of tab2 in canvas 'B'. I.e., if the user clicks on the tab2 of canvasB, it should show the stacked canvas C below the tab.
    How can I do this?
    Thanks,
    Chiru

    It is not possible to define stacked canvas for a tab canvas.
    To avoid such circumstances,
    in pre-form, you write
    HIDE_VIEW('STACKED_CANVAS');
    SHOW_VIEW('TAB_CANVAS');
    If tab canvas is not showing up, set the fol. property
    raise on entry : yes
    viewport x and y position to 0
    and try runing ,
    if the tab canvas is showing up, gradually return to the required position
    else check for any hide_view(tab_canvas) code in your form.
    or you can reduce the height of content canvas to view tab canvas. Check the window name of content and tab canvas is same.
    And in when tab page changed, you write for each tab page name
    IF :SYSTEM.TAB_NEW_PAGE='PAGE2' THEN
    go_item('some item in tab page 2');
    SHOW_VIEW('STACKED_CANVAS');
    ELSIF :SYSTEM.TAB_NEW_PAGE='PAGE1'
    go_item('some item in tab page 1');
    HIDE_VIEW('STACKED_CANVAS');
    END IF;
    Why that go-item is required?
    Suppose your cursor is in an item in the stacked canvas, and if you click on page 1, The stack canvas wont disappear.
    Edited by: Dora on Dec 23, 2009 8:29 AM

Maybe you are looking for