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.

Similar Messages

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

  • 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

  • Show Content and Stacked canvas?

    Hello to all,
    I have a very simple form:
    - 1 datablock
    - 1 window
    - 2 canvas: the main (content) and a stacked one with all the items.
    - I want to have a multirecord view.
    As I have lots of items... and I need to show all of them in a specific format (all in the same line), I need to add an horizontal bar. That's why I added the stacked canvas to my form.
    In my block properties I've added a vertical scrollbar (it's the only item in the main canvas)...
    The idea is to show in the same window the horizontal and vertical scrollbars...
    but.. I don't know why.. when I run the form I only see the stacked canvas with the items...
    Any idea?
    I'm sure it's an easy question.. but.. :-P
    Thanks.

    hi
    try something like this.
    GO_BOCK('BLOCK.ITEM_NAME');
    HIDE_CANVAS('CANVAS_NAME');
    SHOW_CANVAS('CANVAS_NAME');sarah

  • Calling content canvas with stacked canvas

    Hi.
    i have a content canvas in that i have a linked stacked canvas...
    from some other screen if i call content canvas by show_view('Content canvas') i am only getting the content canvas. but i am not getting the linked stacked canvas. weather it is correct ,or not . if i want to see the stacked canvas on content canvas ,i nee to call the stacked canvas too?.
    please clearify me..
    thanks in advance.
    vijay.

    Normally, it is not required to explicitely call a show_view on a stacked canvas.
    In Object Navigator, assure that the stacked canvas (in terms of a sequence) is below the content canvas.
    If the stacked canvas is still not shown issue a GO_BLOCK() and / or GO_ITEM() e.g. in the WHEN-NEW-FORM-INSTANCE Trigger
    to the block having at least on item on the stacked canvas to be displayed.
    In doing so, you must assure that at least one item on the block (having the stacked canvas assigned) is able to receive
    the focus (is enabled and it might be required to set the keyboard navigable property (not sure about that)).
    Due to the internal navigation of oracle forms, the canvas should get displayed when an item on the canvas receives the focus

  • Main canvas with stacked canvas

    Hi,
    I have to modify a form in which i have a main canvas which should have 2 stacked canvas,
    in the layout i can see the two stacked canvas but when i ran the form, i see only one stacked canvas,
    do you have any idea on the root cause?
    Thank you and any help will be appreciated.

    ...in the layout i can see the two stacked canvas but when i ran the form, i see only one stacked canvas,do you have any idea on the root cause?>
    If you want both stacked canvases to be visible, you have to explicitly display them using the SHOW_VIEW('CANVAS_NAME') built-in. Yes, Forms will typically display the canvas an item is assigned to then navigation to the item occurs, but it is sloppy programming to rely on this.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

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

  • Display stacked canvas on content canvas?

    hello all,
    i am try to show the stacked canvas on content canvas at design . but its not display. i set the following properties.
    type-stacked
    displayed:true
    blevel:none
    window: window which is assign to content canvas
    raised on entry: true
    display x position
    display y position
    view hori. scroll bar: true
    after setting above properties stacked canvas is still on showing on content canvas at design .
    please help me
    thanks
    yash

    Hi,
    1.Create one content canvas and create one stacked canvas.
    2.give the label as Conetnt canvas and stack canvas respectively.
    3.Go to conetent canvas layout editor
    4.click on menu view-->Stacked Views and select ur stack canvas.
    5.Now ur stack canvas is placed on ur content canvas.
    6.select the stack canvas in same layout editor and click on one of the corner of stack canvas.
    7.now u can move that stack canvas where ever u want on content canvas.
    if u hav any problem then ask me.

  • 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

  • Validation vs Stack canvas on tab page

    Hi,
    I have a problem about how to show/hide view when validation was triggered.
    My situation is:
    - I have a 3 pages tab-page. On the first tab, I have a stack canvas. I have codes to show the canvas at When-new-form-instance and show/hide the view at When-Tab-page-change.
    Problem:
    - I click on the third page and enter something wrong values on a field and then I didn't go to another field, click the first page directly.
    The oracle form shows the first tab without the stack canvas and the error message popup at the same time.
    - We have a backend procedure which is used to give the error include the Raise form_trigger_failure. When the validation is fail, this procedure will be called to give the error message. It is a standard procedure so we must use it.
    - I tried to Show_view before or after the error message, but it cannot help.
    Question:
    Is there any method to help this problem? Thanks for advance..
    I am using Forms10g.
    Regards.

    Another solution without a timer :  You can use the WHEN-TAB-PAGE-CHANGED-Trigger to handle the change of a tabpage.  And here, before you navigate to another tabpage, you can use the built-in ENTER to start the validation before the next tabpage is displayed.+When-tab-page-changed runs AFTER the tab page has switched. If you run validation from it, you will need to check if the validation failed, and then go back to the prior tab page.
    Also, the Validate built-in is a better method to cause validation to occur.

  • Stacked Canvas and Raise FORM_TRIGGER_FAILURE

    My form consists of a content canvas and a scrollable Stacked canvas. If FORM_TRIGGER_FAILURE is raised from one of the items on the content canvas the stacked canvas gets hidden, as you would expect i.e. FORM_TRIGGER_FAILURE returns the focus back to the item and because this item is on the Content canvas, the stacked canvas get hidden.
    I need to be able to handle this i.e. when FORM_TRIGGER_FAILURE is raised for the items on the content canvas, I need to be able to issue a SHOW_VIEW for my stacked canvas. However, I cant work out how to do it. I've tried placing various triggers on the content canvas items, in the hope they'd fire when FORM_TRIGGER_FAILURE returns focus to the item but without success. Any ideas ?
    Regards
    Peter.

    hi
    try to adjust the View port width & height of stacked canvas properties back and forth.
    ram Not sure this addresses my problem. The stacked canvas properties are fine. However, I want to be able to execute a SHOW_VIEW on my stacked canvas after a FORM_TRIGGER_FAILURE has been raised. Obviously, I could place a button that did SHOW_VIEW when pressed but thats far from ideal. I want to be able to do it automatically without any need for the user to do anything.
    Regards
    Peter.

  • 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

  • Tab Canvas on a STACKED Canvas?

    Is it possible to have a tab canvas ON (IN) a stacked canvas? Or can a tab canvas ONLY be placed on a content canvas?
    Thanks!

    Hi,
    Can you tell the requirement clearly, whether you need to create a tab canvas on stacked canvas, a tab canvas in stacked canvas.
    1.Stack Canvas in Tab canvas
    First you need to create a tab canvas in the content canvas then you need to create a stack canvas on the content canvas, then you need to align it properly.
    Refer this link
    http://startapps.blogspot.in/2009/12/how-to-place-stacked-canvas-in-tab-page.html
    Thanks & regards
    Srikkanth

  • Problem with Stacked Canvas

    Hi,
    I have prepared a stacked canvas on a content canvas.
    Both content and stacked canvas are based on the same data block. In the data block 2 items are on content canvas and the remaining are on stacked canvas. I have also a scroll bar on the content canvas so that we can scroll to the right as there are many items on it.
    so 1st and 2nd fields are on the content canvas and remaining ones are on stacked canvas.when i tab out of the 1st field stacked canvas goes invisible, but when i tab out of the 2nd field stacked canvas again comes back.
    How can i avoid this?
    I want the stacked canvas always to be displayed when i tab out from any where.
    One more problem is, when i click on the 2nd field the stacked canvas goes invisible too
    Your suggestions are greatly appreciated.
    Thanks
    Sandeep

    Check if the second item overlaps the area of the stacked canvas. Forms always makes the current item be displayed fully and therefore hides all areas which would overlap the item.

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

Maybe you are looking for

  • Problems updating ipod touch 3g to os 5

    Hi... I am very excited to see what all the buzz is about for the new OS 5.x for use on my ipod touch 3g but im having problems updating my device.  my itunes has been updated to 10.5 and i have conected my touch to my computer and clicked on update.

  • Help with this One  Field

    Post Author: shefe CA Forum: Formula    Hello All,I have this field called Class Period.Day and it displays Monday thru Saturday but I want it to display Monday , Tuesday , Wednesday, thursday and Friday on one line. 

  • GRC V10: BRFplus rule transport

    Hi experts, how is it possible to transport a brfplus rule. we generate a function module via SE37 and afterwards the rule. Are the decision table and all brfplus rule settings in the transport of the function module? Or should I transport the rule a

  • Mixing Garageband file in Logic, real insturmens are off and can't play?

    When I open a Gargageband file in Logic Express, for some reason "real insturments" recorded in Garageband won't open. They state "off" and no way to turn "on". Does Logic Express have issue with "real insturments" recorded in Garageband or what, any

  • Some times Child Job with error status

    Hi, We are running some standard report periodically, this report is generationg some child jobs. Problems is that these child jobs, somtimes are failed with error status. This is happening very few times,may be 2 or thrice a month. There's no explan