Stacked Canvas - Raise Form_trigger_failure

We are using stacked canvas for our views (fixed data and scrolling data) but when we raise the form_trigger_failue it hides the stacked canvases and the next execution statement show canvas is not working. Only the main canves is showed. Hope there is some suggestion from your end.

Instead of showing canvas try to navigate to a field, positioned on this canvas

Similar Messages

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

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

  • New stacked canvas and action items

    I have a form with tree module components into the same window: one new content canvas and two new stacked canvas.
    The window has an action item. When I execute this form the action item is'nt visible because is placed under the stacked canvas. Is possible display the action item at the bottom of the window?

    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.

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

  • 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

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

  • Stacked canvas disappearing

    Hi All,
    Iam using forms 6i..its not working when Iam trying to call a canvas from a procedure but working if i write the code in a button (when-button-pressed)
    Iam using go_block('abc'); ---say abc is the block name in that canvas..
    If i use pause; after this go_block i can see the canvas. This canvas is having one text item and one button
    Thanks in advance
    Girish kotapati

    That sounds like a "Hack" to me. You shouldn't have to fail the form to make things work. What about the code that comes after the RAISE Form_Trigger_Failure? This code will never execute because you have halted execution. A better solution would be to trace through your form (either by turning runtime debug messages on or by using Forms Runtime Diagnostics [FRD]) to see why your form is not behaving as you are expecting.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to create stacked canvas

    How to create stacked canvas on a content canvas in forms builder.
    Please let me know if anybody has some steps or screenshots.

    once you build a content canvass your next step is to create another canvass with a property canvas type of stacked. those two canvas the content and stacked should have the same property of raise on entry yes and should be on the sane window.
    to force to display the stacked canvass at runtime on your Form level trigger WHEN-NEW-FORM-INSTANCE add this code
          show_view('stacked_canvass');where the stacked_canvass is the name your stacked canvass. hope this helps.

  • 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

  • Inset bevel on stacked canvas - is it possible?

    Hello.
    I want to create a stacked canvas with an inset bevel, but when I
    run the form the
    inset bevel is not shown. The only bevels that shows is lovered
    and raised.
    Does anyone know how to get an inset bevel to show, so that the
    stacked canvas
    apears as a scrolling region within a frame with inset bevel?
    -Peter
    null

    without repainting all canvas.if your not comfortable repainting the entire canvas, You can use the selective repaint function. it repaints only the area specified by you
    repaint(int x, int y, int width, int height)
    //Requests a repaint for the specified region(x,y) of the Canvas.ps: selective repainting is the VM's decision

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

  • How to remove the black line from a stacked canvas at run time???

    Hi All,
    I've developed a stacked canvas within a content canvas, when I run the form the stacked canvas apeared with a black line takes it.
    How to remove this line or how to disappear this line at run time??
    I tried to do this by putting (no line) in tools palette to the line color tool after selecting the black line one and after selecting the stacked canvas another once, but this did not resolve the problem!
    I need something else:
    I put the stacked canvas at detail data block and it didn't appear since I execute query in master data block
    How to appear the stacked canvas directly before executing query in master data block???

    Hi,
    u mean the border line? In stacked canvas property, select contour/outline and set it to none.
    Make sure, the stacked canvas is behind the content canvas in the objectnavigator. Then check your
    properties of the stacked canvas:
    - Position on content canvas
    - size
    - size of clipping
    Set stacked canvas property automatic visible to yes.
    Make sure the stacked canvas is not overlayed by other stacked canvas or items.
    Attackwave

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

  • 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

  • Clean downconversion from DVC-Pro HD to NTSC for Broadcast

    We just shot some PSAs for the local DirecTV channel with the HVX200. We edited the footage in Final Cut and everything looked good. Then we downconverted the footage in Final Cut to NTSC and outputted it to DVCam. When we played it back on a TV moni

  • How can I select text within a page?

    Using Firefox on an N900. I cannot select text or interact with google maps. Like you can by going into cursor mode on the N900 native browser. How is this done in Firefox? == Extensions installed: == ADB, youtube enabler + defaults

  • Read a file with a variable=counter : NAMEFILE001,NAMEFILE002..

    Hello, I would need your councils. I can read a logical file on my server(logical example of name: NAMEFILE) with function FILE_GET_NAME. But I would like to be able to read a file with a counter i.e. the first time: to read NAMEFILE001; the second t

  • Msi gt660 speaker goes on and off

    Hi After my old MSI GT660 could not be repaired, i recieved a new unit, but with a different screen. However, less than a week later, the left speaker goes on and off, no matter if it is playing a video, music or podcasts. And the right speaker sound

  • Downloading books gives authentication error

    When downloading I get the following error message Adobe DRM Error System: 5 State: 4 Class: 400 Code: 41 Message: Error on response from server. Scroll below or view error.log for more details. Adobe DRM client Error: 441 Could not authenticate with