Vertical Scroll in stacked canvas

Dear all,
I got the following challange:
On my form I have 1 content and 1 stacked canvas. Items are from 1 datablock. 1 item is displayed on content canvas, the other items from the datablock are on the stacked canvas. Items are displayed in multirow mode, stacked canvas has a horizontal scrollbar, item labels are dispayed (on content and stacked canvas).
Vertical scrolling works fine in the Forms Builder test environment (C/S), but when the form runs on the web in the applet, vertical scrolling performs as follows:
If the input focus is in the column on the content canvas, it works fine. But if the input focus is in a column on the stacked canvas and an item in the last row (during scrolling down) gets the input focus, the content of the stacked canvas is shifted up to the upper border, so that the column headers and the first line of the viewport isn't displayed and there is an offset of the records displayed on the canvases.
Has anyone experience with this behaviour, any ideas or a workaround?
Many thanks in advance
Stefan

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.

Similar Messages

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

  • 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

  • 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

  • Content canvas and  a stacked canvas moving when scroll through the details

    Dear Friends
    I have Mater and Details Block , and I have two canvas content canvas and a stacked canvas, and the a stacked canvas on top of content canvas , and I have set the horizontal and vertical scroll bar for the stacked canvas , my problem is that when I inquire and click on the details block which is on stacked canvas the header content canvas is moved up
    and what I want the header to be stable and not moving when scroll through the details .
    Best regards
    Jamil Alshaibani

    if the canvas is moved during runtime in general the problem is that is does not fit completly in the window. Try to adjust your window-size so that the whole layout fits into it.

  • Stack Canvas Horizontal Scroll Bar

    Hi There,
    I'm using Forms 6i (Rel.2) and i am facing a problem with may stack canvas's horizontal scroll bar at runtime, as follows:
    As I put the cursor on an Item inside the stack canvas, and try to scroll away to the left where that Item is no longer viewable, and then stop scrolling, the scroll back will jump back to that Item,so I have to press and hold the mouse on the scroll bar as long as I need to see other Items at the far end! I tried to set the "Raise on entry" property to "YES", but no success.
    I tried the same in Forms 5 and it works fine with no problems at all!!!
    Any suggestions?

    Hi,
    My colleague found out that a timer I had programmed in a calling form to show the current time was actually refreshing every one second and in doing that it was refreshing the whole view which caused it to jump back to the first item. I had to remove the timer and it's working fine now.
    Thanks again,
    Ali

  • The Horizontal & vertical scroll is not visible or not working when i run the form in Forms 6i.

    Hi all,
    The Horizontal & vertical scroll is not visible or not working when i run the form.
    In this form , there are 5 canvas namely
    CANVAS2 - Stacked Canvas
    PASS - Content Canvas
    MAT_RATES - Content Canvas
    DATE - Content Canvas
    PREVIOUS - Content Canvas
    I have set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the WINDOW Property.
    I have  set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the STACKED CANVAS Property .
    But still the Horizontal and Vertical Scroll Bar is not working when i run the Form.
    Help me with this please. How do i make it visible??
    Oracle Forms 6i..
    Thank You.

    Vijetha wrote:
    Hi all,
    The Horizontal & vertical scroll is not visible or not working when i run the form.
    I have set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the WINDOW Property.
    I have  set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the STACKED CANVAS Property .
    But still the Horizontal and Vertical Scroll Bar is not working when i run the Form.
    Help me with this please. How do i make it visible??
    Oracle Forms 6i..
    Thank You.
    hello vijetha,
    window and canvas show scroll bar when it need.
    You should show block property
    and set block scroll bar
    hope this helps..
    Hamid

  • How: Stacked Canvas on Tab Canvas ?

    Hi All,
    I have content canvas in which I have placed tab canvas with 5 tabs, and on one of the tab I want to place stacked canvas because I have to display multiple blocks on this stacked canvas with vertical scroll bar (This I can specify by saying Vertical scroll bar as Yes for Stacked canvas).
    There is a restriction that, it is not possible to place stacked canvas on tab canvas (Possible only on content canvas), so is there any other workaround.
    Please let me know if anyone has worked on similar type of screen development. Appreciate if anyone can provide some sample code.
    Advance thanks for your time and help.
    Regards
    CJ

    Hi All,
    I found the solution and successfully implemented the desired functionality
    DECLARE
         v_Tab VARCHAR2(1000);
    BEGIN
         v_Tab := GET_CANVAS_PROPERTY('CAN_TABS', TOPMOST_TAB_PAGE);
         IF v_Tab = 'a1' THEN
         GO_BLOCK('BLK1');
              EXECUTE_QUERY;
         ELSIF v_Tab = 'a2' THEN
              GO_BLOCK('BLK2');
              EXECUTE_QUERY;
         ELSIF v_Tab = 'a3' THEN
    *          Set_View_Property('CAN_STK_FIS_NET',HEIGHT,280);*
    *          Set_View_Property('CAN_STK_FIS_NET',WIDTH,630);*
    *          Set_View_Property('CAN_STK_FIS_NET',DISPLAY_POSITION,6,135);*
    *          SHOW_VIEW('CAN_STK_FIS_NET');     *     
              GO_BLOCK('BLK_FIS1_GRID');
              EXECUTE_QUERY;
    END IF;
    END ;
    I have seperately created stacked canvas 'CAN_STK_FIS_NET' and placed multiple blocks as per requirement and able to achieve the functionality.
    Please let me know if any one need any detail explanation.
    regards
    cj

  • 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');

  • Vertical scroll bar on tab page.

    Hello,
    I have to show vertical scrollbar on my tab canvas.
    I have one Content canvas on which I have 1 tab canvas with 8 tab pages.(sec1,sec2,sec3 ..sec8)
    I have another tab canvas(kind of seb section for the above and each has 3 tab pages) like
    Sec1 will have (sub sectiion tab canvas) which has again 3 tab pages 1.1,1.2,1.3 and soon
    now on the third tab page of the sub section or second tab canvas, I need vertical scroll bar to fit number of fields which are more than the tab canvas size.
    all are from the same data block
    Could you please help me. i tried by creating staked canvas but no luck.
    can you please let me know the procedure to be followed
    Thank you in advance.

    Could you please help me. i tried by creating staked canvas but no luck.What happened when you tried to use a stacked canvas?
    If the items in the area you want to scroll are all in the same datablock you can set the Scrollbar properties of the block to be displayed. This will enable scrolling of the items that are within the specific block. If you items are assembled from more than block, then using a stacked canvas is a better option for enabling scrolling within an area.
    Also, what is your Forms version?
    Craig...

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

    Hello
    Why if i had used an inherited stacked canvas and tried 2 change the height and width of it ...
    it doesn't change it remains with the same size,can any body answer me why it behaves like this...!?
    Thanks in advance,
    Regards,
    Abdetu...

    Abdetu,
    am getting a compilation error says: identifier 'viewport_width' Must Be Declared I must apologize, I misread the Forms Help which lists "VIEWPORT HEIGHT" and "VIEWPORT WIDTH". What I failed to recognize was that there was no underscore "_" between the words. Therefore, these are Properties of the stacked canvas that can only be set through the property palette - not the SET_VIEW_PROPERTY built-in. Sorry! :8}
    1. You have a Stacked Canvas that has a property class assigned to it or you subclassed the canvas into your form when you copied it from another form (like a template form).what is the difference i would like to know ?
    >
    The difference is where the source of the referenced propertes (property class) exist. For example, if you subclass the property class from a source Form (such as a template.fmb or an Object Library.olb) then the set of properties are dependent on the source object (.fmb or .olb) and you have to ensure the source object is in the FORMS_PATH. If you manually create the property class in the form there is no dependency on other objects. For the record, it is "Best Practice" to subclass Property Classes from a common source so you can standardize and reuse common sets of properties (as well as other shared objects).
    Vertically half of The content of the canvas wasn't seen the other half was blank gray ...!!! e.g. can't scroll horizontally to see the rest of it...!!! So it is cutting off some of the items on the stacked canvas? For example:
    Stacked canvas when viewed in Layout Editor
    |---------------------------------------|
    | Item 1[              ]                |
    | Item 2[              ]                |
    | Item 3[              ]                |
    | Item 4[              ]                |
    |---------------------------------------|
    Stacked canvas when viewed during runtime
    |---------------------------------------|
    | Item 3[              ]                |
    | Item 4[              ]                |
    |                                       |
    |                                       |
    |---------------------------------------|Have you tried to copy the stacked canvas instead of subclass it just to what happens?
    Craig...

  • 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

  • How to  show additional items in the same window using stacked canvas

    How to show additional items in the same window using stacked canvas.
    My content canvas has 14 items, and I have to include more.
    I want to know how I can use a stacked canvas to show these additional items in the same window, so that I can scroll through horzontally , as if all the items are on one canvas.

    Well, I intially navigate into my content canvas. At this stage the stacked canvas is not visible, then how should I navigate to an item on the stacked canvas to make it visible?

  • Stacked canvas

    Hi
    I have a screen where part of the block is in a 'fixed' content canvas and part is in a stacked canvas which is scrollable. Initially, both canvases are displayed and I can scroll backwards and forwards in the stacked canvas. However, when I select one of the fields that is outside the stacked canvas the stacked canvas disappears. Is there anyway of pinning the stacked canvas so that it is visible all the time.
    Thanks

    Hi
    What i understand when your naviagation is on contact canvas item then stack canvas disappear.
    it is so simple just click on the border of stack canvas and drag the stack canvas away from the items of contant canvas. it may possible your stack canvas is over the any item of contant canvas
    Regards

Maybe you are looking for

  • EUL version 3.1.13 in a 4.1.x enviroment

    Hey there. This is an interesting - and perplexing - one to me. I'm combining 2 EULs together into 1. All that's fine, but where I'm surprised is that I'm running Disco client 4.1.48.08. When I run the following SQL query: SELECT 'EUL_OWNER' which_eu

  • Launching the printing of a PDF document, all other programs remain locked

    After opening a PDF file with Acrodat Reader, when I click for printing the document, my notebook (window vista) remains blocked for two minutes. During that time all other programs cannot be run: for example I cannot even run the Task Manager. I cur

  • BOE 5 TIER landscape

    Hi guys I need some expert opinions. We have 5 Tiers landscape currently in BW and ECC (2dev, 2QA, and 1 prod) dev2, and qa2 are used for system upgrades and applying patches. our plan is to use BusinessObjects 4 as a reporting platform for BW and EC

  • Redisplay content in textbox

    Hai all i am all new to jsf. i have created a edit profile page where it is displaying the content fetched from database in textbox and combobox, now i have a field suppose username which is a required field like <h:inputText value="#{xBean.username}

  • How to neatly transfer to a new address?

    I have changed ISPs and now have a new email address. I maintained my old email address for a month to make sure I had not missed informing contacts of the change or missed out on sites with the old address. I have now fully switched and am exclusive