Displaying multiple stacked canvas

can any one tell me how to display mutiple stacked canvas on a content canvas dynamically. how to set property to hide and display stacked canvas.??
can any one help me regarding this???
thanks in advance
regards,
madan

like mentioned before you need to control them with hide_view('<canvas_name or id');
and show_view to display.
Hide your stacked canvases you don't need upon start of the form in the when-new-form-instance trigger
And if you click the help button and type hide_view you'll find even reeady to use examples.
The help is included for some reason ;-)

Similar Messages

  • 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

  • Stacked canvas dispalying problem

    hi am displaying multiple stacked canvas on a content canvas. i have a problem in displaying them even hiding the first canvas(B) am not able to display the second canvas(A) its still showing the first canvas(B).
    am using show_view(A) to display the stacked view while i use hide_view(B) to hide the canvas B
    almost both the stacked canvas have same fields in particular i kept the mirror fields on the stack B from stack A.
    my requirement is to display stacked canvas A or B dynamically!!
    can any one direct me with some gud solution.
    thanks in advance.
    regards,
    madhan

    Hi Madan,
    You are using correct function to do so. But you may need to manipulate.
    When you want to show canvas A or B, follow the mentioned steps:
    If you want to hide B and show A
    IF canvas b is visible then
    hide_view(B);
    show_view (A);
    go_Item (item_on_cavans A)
    END IF;
    And vice versa.
    Cheers
    Ram

  • 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 behaviour 6i c/s

    hi,
    My form has two canvases.
    1. content in own window
    2. stacked content in own window( which is only 5 cm by 5cm wide and does not cover content when called.
    COntent canvas and window are maximised in when-new-form-ins trig.
    The problem i am getting is when I call stacked can in its own window from content can via button my content canv
    resizes itself enough so that scroll bars appear.
    So that when i exit stacked can i have to maximise the content to such a state as when I first run the form.( all coded in when-new-form-ins) i.e dbl click on win title bar.
    Does anyone know if this is default functionality or is there something I need to set ?
    thanks.
    n

    hi tony
    sorry for not making it very clear...
    So you want to Press a button, go to a stacked canvas, pause and accept input on that canvas, then proceed to do some calculations, and all of this on >one button?what you understood up to the bold marked area is correct. after getting the input in stacked canvas the user press a back button there to hide and come out. The calculations are on the content canvas button itself...( which is used to display the stacked canvas)
    Kris

  • Stacked canvas on one convas!!??

    if i have two content canvases and one stacked canvas at the same window ,is it possible to display this stacked canvas at only one specific canvas at this window ??

    Hi TERMI
    Yes it's possible , Here is an example ...
    Pls create a button in ur content canvas in this button pls write the following as an example...
    SHOW_VIEW('STACKED_CANVAS');
    GO_ITEM ('item_name'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    HIDE_VIEW('CONTENT_CANVAS');
    In order to return back to ur content_canvas pls create a button in ur stacked canvas in WHEN-BUTTON-PRESSED Trigger
    pls write the following...
    HIDE_VIEW('STACKED_CANVAS');
    SHOW_VIEW('CONTENT_CANVAS');
    GO_BLOCK('EMP');
    GO_ITEM ('EMPNO'); -- Pls note this item should be navigable and visible in ur Content canvas form
    Hope this helps...
    Regards,
    Abdetu...

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

  • Stack canvas on a tab page

    Hi ,
    Can we display a stack canvas on a tab page.
    If yes pls explain how???
    Any help will be appreciated..
    Thanks & Regards
    Indu

    Yes it is possible, but it needs some work.
    You need to create the stacked on the content and set the viewport X Position & viewport Y Position coordinates to display it on the tab canvas.
    Tony

  • How do put a stack canvas inside the tab canvas

    Hi all,
    I have content canvas and tab canvas Now i want to put a stack canvas on the tab canvas .suppose tab canvas page are Page1,page2, page3 when i click the page1 then display the stack canvas 1,and when i click page2 then
    display stack canvas 3 ..... so on. help me to find the solutions to this Issue
    Thanks

    You would use the when-tab-page-changed trigger to use hide_view and show_view commands to hide one stacked canvas and show another.
    Just keep in mind that for a canvas to be displayed, the cursor must be in an item on that canvas, or at least in an item NOT covered by the canvas.

  • Calling stacked canvas

    hi everyone,
    currently i am working in oracle forms ( 6i ). how to call the stacked canvas through coding when the radio button is clicked.

    Show_View is not allways a good workaround.
    As i said, the displayed canvas is the one that include item which have the focus.
    Show_View will do nothing if you want to display a stacked canvas which is behind another one that get item focus.
    Francois

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

  • Display stacked canvas on tab canvas page

    Hi,
    I am using Forms 10g. I have Content canvas named CANVAS1. I created a tab canvas called TAB_CAN contains TAB_PAGE1 and TAB_PAGE2, Stacked Canvas called STACK1.
    If if create tab canvas on content canvas thourhg labout editor. It's display well when forms run. But, i have created manually.
    1. How to display tab canvas programatically.
    2. How to display stacked canvas on TAB_PAGE1
    Regards,
    Murali

    Looks like you are in the wrong forum.
    Please post this in the [Forms forum|http://forums.oracle.com/forums/forum.jspa?forumID=82]
    Timo

  • Display employees details in the stacked canvas from the content canvas

    Hi all,
           I want to display employees details in the stacked canvas from the content canvas,where i passed the empno & click on the find button , i have 2 blocks(emp,control), in control block only find button there, I have only one table i.e;emp
    BEGIN
        GO_BLOCK('EMP');
        Set_block_property('EMP', default_where, 'Empno = :EMP.EMPNO');
         Show_view('EMP_DET_CAN');
        execute_query;
    END;
    Thank You

    Hi Andreas Wieden,
    Andreas Weiden wrote:
    When you query on the EMP-block, yiou cannot include a WHERE-condition to that block as the block is cleared when the EXECUTE_QUERY starts. If you want to have a different find-block where you enter your search-condition, you have to include that item in your separate find-block. Otherwise use the standard-search-mechanism with ENTER_QUERY and EXECUTE_QUERY.
    You are right, so where clause is not possible in the same block, right?.I have to take empno column where it is a search column into the control block right?
    Please suggest me i want to retrieve records into the stacked canvas when i pass the empno & click on the find button in the content canvas? Is this not possible? If possible please let me know? I mean i want to take the search column in the EMP Block & find button in the control block..
    Thank You

  • Stacked Canvas with one block displaying twice

    I have a question regarding the Stacked Canvas. I have to create a calender for clients. (I am using stacked canvas to do that).
    In the 'calender' table i would have the information like ClientID, Year, weekno, start date, end date.
    So i created two blocks for 'Calender' table in this form. One block for Content canvas with ClientID and Year (Block1). And another block (Block2) on Stacked canvas for weekno, startdate and enddate.(normally there will be 52 weeks sometime 53 weeks)
    On the Block1 it suppose to display the ClientID and Year once. And in the block2 (stacked canvas) it suppose to display 53 rows with weekno and the start/end dates.
    When i create a new row in the block1 for clientid and year (1234, 2008) then the block2 will be populated with 01-jan-2008 to the 31-dec-2008. But the problem i am having is when i try to save it is trying to save two times one from block1 and once from block2 resulting in a unique constraint error.
    how should i structure this so it saves only once?
    I tried to keep the clientid and the year in block1 as non-database items and copied those values into the block2, that way it saves correctly but when i try to query on the upper block it gives me error.

    But you only have one table. You need two tables for master-detail. Can you normalize the calendar table and change it to two tables (master-detail).
    See
    Re: regarding display of records in header and line level
    Gerd offers a solution for two blocks and one table. Maybe that will work for you.
    Message was edited by:
    Mark Roberts

  • Stacked Canvas and No. of records display on the block?

    Any coding to re-size the "Stacked" canvas and no.of records displays on the block?
    Please advice,
    Amy

    u can set the view port and Width and height of the Stack canvas at runtime but not No of Records display....
    set_view_property .....VIEW_SIZE or Width / Height
    for canvas size use SET_CANVAS_PROPERTY
    Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

Maybe you are looking for

  • How can I print all the pages in an email that I have received?

    Even when I use print preview, it shows only 1 page when the email might be 2 or 3.

  • Gmail push no longer working with iOS 6?

    I am not sure if this is an iPhone 5 issue or an iOS 6 issue but since getting my iPhone 5, GMail is not getting pushed to my device, mail only arrives when I open the Mail app. All of my settings are correct, the account is set up as an Exchange acc

  • Photos Not Showing Up on 32GB IPhone 4

    My 32gb IPhone 4 has been experiencing some problems. Initially, I linked a folder of pictures to my iphone and everything synced up completely. Now it does not work at all. It shows up that 43 pictures are located on my iphone, but on the actual pho

  • Condition type in pricing

    Dear All,         we have condition types 1.RUB1-Neutr.Accruals(Val.) 2.RUC1-Neutral Accruals/Qty 3.RUE1-Neutral % Accruals In which business scenario these are used and what is the meaning of neutral accurals/ provisions. Thanks, regards

  • SOAP : Testing with WebServiceStudio

    Hi All, My scenario is SOAP to RFC sync. I'm new in SOAP scenario. For testing purpose try to use "WebServiceStudio". Any one guide me how to test with the same? Thanks, Arthita