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.

Similar Messages

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

  • (another) stacked canvas on content canvas problem

    I've searched the forums for the last 2+ hours and can't find a solution for my problem, although there are hundreds of questions on this subject.
    I have a stacked canvas on top of a content canvas. The canvases share the same window. They also share a data block. I added radio buttons on the main canvas to "show/hide" the stacked (my ultimate goal is to have 2-3 stacked and toggle. When hide, the stacked canvas is hidden, but when i click show, it is not. I understand reading all the posts that the block with focus will display, and I've added both a go_block and go_item prior to the show_view. Below is my code. MEL_DETAILS is content and MEL_LINE_ITEM is stacked.
    IF :stack = 'SHOW_STACK' THEN
    GO_BLOCK('MEL_ITEM');
    GO_ITEM('MEL_ITEM.MIS_PROJECT_NO');
    SHOW_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', display_position, 718, 583);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_FALSE); -- radio button
    ELSif :stack = 'HIDE_STACK' THEN
    HIDE_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_TRUE);
    END IF;

    user12198246 wrote:
    I've searched the forums for the last 2+ hours and can't find a solution for my problem, although there are hundreds of questions on this subject.
    I have a stacked canvas on top of a content canvas. The canvases share the same window. They also share a data block. I added radio buttons on the main canvas to "show/hide" the stacked (my ultimate goal is to have 2-3 stacked and toggle. When hide, the stacked canvas is hidden, but when i click show, it is not. I understand reading all the posts that the block with focus will display, and I've added both a go_block and go_item prior to the show_view. Below is my code. MEL_DETAILS is content and MEL_LINE_ITEM is stacked.
    IF :stack = 'SHOW_STACK' THEN
    GO_BLOCK('MEL_ITEM');
    GO_ITEM('MEL_ITEM.MIS_PROJECT_NO');
    SHOW_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', display_position, 718, 583);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_FALSE); -- radio button
    ELSif :stack = 'HIDE_STACK' THEN
    HIDE_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_TRUE);
    END IF;Here, it seems two problem..
    The line..
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
    and
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);No needed
    Hope this helps
    Hamid

  • Tab Canvas on Content Canvas

    i wanted to use a Tab Canvas on my Form
    the Header details are on the Content Canvas (Canvas4). on the same canvas i have inserted a TabCanvas which created a new canvas(Canvas7) which has the details section for the header part.
    when i run the form, i can see only the header part on carvas4.
    i wanted to see the Header and Details of the form...
    how can i do this?

    Am I correct in saying you want the tab canvas to act like a stacked canvas.
    If so have you added it to the view of Canvas4 by performing the following:
    1. View (drop down)--> Stacked Views
    2. highlight Canvas7 and click on ok.
    Alternatively are you performing some kind of navigatoin to an It that is hidden behind the tab canvas?
    If non of this works or is causing you issue. What happens if you use SHOW_VIEW('Canvas7'); and navigate to an item on it in your when-new-form-instance trigger?
    Cheers
    Q

  • Displaying tab page canvas on content canvas in Forms 6i

    Forms [32 Bit] Version 6.0.8.8.0 (Production)
    I have an existing form which has multiple canvases and there are couple of fields on Content canvas and then on the same content a Tab canvas is layed out. I can see both canvases in same layout editor and select and move the tab canvas.
    But when I create a new form and want to layout a tab canvas on top of content, it appears in a separate layout editor window on design time.
    I want it like below:
    -----------content--------------------
    |                                       |
    |                                       |
    |                                       |
    |TabPag1     TabPage2                   |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    -------------content------------------How can I create it so that it appears in same layout editor window at design time and appears in same window like one canvas on runtime.

    In order for the Tabbed Canvas to appear on the Content Canvas in the Layout Editor, you have to actually draw the Tabbed Canvas on the Content Canvas; eg: open your content canvas in the layout editor, click on the tabbed canvas toolbar button and then draw it on your content canvas. If you create the Tabbed Canvas object through the Object Navigator and then set the properties so it would display on the content canvas - it won't be visible on the content canvas with the layout editor.
    This is a bit of a quirk in the Forms Builder and they haven't corrected this in any of the newer versions of Forms yet. :-(
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Tab canvas after content canvas impossible?

    I am still having problems with tab canvases that come after content canvases in Designer 6i. I have changed the QMSO$BLOCK.QMS$BLOCK_INFO VISIBLE property to YES and this allowed me to generate the form, but now I have the little QMS$BLOCK_INFO item displaying and worse yet all of my multi-record tab pages only display 1 record. Is there something else that needs to be changed in the object library? Can I even generate forms with 2 or more tab pages after a content canvas in Headstart 6i (patch 13)?

    I recommend a couple of things:
    - Create a copy of cgso$block and call it something like my$block_tab_problem. In cgso$block, set qms$block_info back to VISIBLE false. Set qms$block_info to VISIBLE only in the my$block_tab_problem copy. In designer, for each MCO that is on the base canvas and has child blocks on tabs on the same canvas, set the Template/Library Object property to my$block_tab_problem. In other words, only apply this change where you absolutely must apply it - the master block of this particular layout.
    - Code a pre-form trigger that sets the qms$block_item trigger to VISIBLE false using the set_item_property built-in. Again, you will only have to include this code in the few forms where you have this layout. This will hide the ugly item.
    - This will eliminate the problem with the multi-record blocks because they inherit qms$block_info from cgso$block which has been set back to VISIBLE false.
    Regards,
    Lauri

  • 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

  • Stacked canvas view placed on the content canvas

    Hi to all,
    i am developed a one form ,i.e placed the stacked canvas view on the content convas.
    i create a two data block's with same table.
    one data block for content canvas and one for stacked canvas.
    in the content canvas i taken two fileds with scroll bar and remaining fields placed on the stacked canvas.
    these stacked canvas view put on the content canvas.it dispalying and
    executed succesfully.
    here i am getting one problem i am displying the 10 records at a time in both canvases.my requirment is placed on the
    cursor on the content canvas particular record scroll down then automatically show the same record details in stacked canvas and
    content canvas scroll bar is changed automatically stacked canvas scroll bar is changed.
    any one help me.........

    {quotei create a two data block's with same table.
    one data block for content canvas and one for stacked canvas.{quote}
    This is not necessary. Just create one data block and then assign the block items to your Content and Stacked canvases. You can display items in a data block on different canvases. By doing this, there is no need to write code to synchronize the records because they are part of the same data block so they will automatically scroll as you navigate through your records.
    Craig...

  • Content canvas problem

    Dear All
    In forms 10G i have one Content canvas and one Stacked canvas . While designing the form i am aligning the stacked canvas on content canvas.
    I follow this steps:-
    1) Open Content canvas then in tool ball i click on VIEW then STACK VIEWS .
    2) Then it will open a pop up window STACKED/TAB CANVAS and there i am selecting my Stacked canvas name.
    3) But after that when i want to open only the content canvas then this stacked canvas also opening ..
    And i am not able to hide that ...
    How to do this ?

    1) open content canvas
    2) Click in menu "Stacked Views" (popup window is opened)
    3) unselect your stacked canvas using CTRL+click

  • 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

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

  • FRM-13002 : Stacked and Tab Canvas must be created within Content Canvas

    Hi,
    I have a Tab Canvas with 2 pages on it.
    In one of the pages the data to be displayed will be
    out of the region(size or length) of that page.
    I read in this forum for the same problem, the
    member had suggested to use a Stacked Canvas on that
    Tab page alone and enable the scrollbars of the stacked canvas.
    When I drag and drop a stacked canvas on a tab page
    of the tab canvas I get the following error:
    FRM-13002 : Stacked and Tab Canvas must be created
    within content canvas.
    Any help is appreciated.
    Thanks in advance
    Sharath

    Hi,
    I am breaking my head over this.
    I am still unable to solve this issue.
    ========The Requirement is as follows :===========
    When I select a Tab Page of a Tab canvas, I get a
    combo box with items in it. When I select an item from
    the combo box, based on the item selected, I am
    retrieveing the data from the database and displaying
    it in that Tab Page itself. This data is in a matrix
    format. i,e Has a number of rows and columns.
    Without a Horizontal and a Vertical Toolbar attached
    to the Tab Page I would be unable to view all the records
    that are displayed on that Tab Page.
    Any suggestions or examples is most welcome and
    appreciated.
    NOTE : ALso in what situations can we use a stacked
    canvas, if the designer does not allow me to
    use it with other canvases?.
    Thanks in advance
    Sharath.

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

  • Stacked canvas appearing over content canvas by default

    Hi Guys,
    I have a Main content canvas and a stacked canvas. Both are having common single window attached to them window type is Document.
    When I launch this form then main content canvas is displayed but with stacked canvas on top of it.
    Control is in main content canvas but stacked canvas is over main content canvas.
    This stacked canvas should appear after some action like list change or button push which are on main content canvas.
    I have checked there is no go_item call for any objects on this stacked canvas.
    I have tried with commenting the code which shows canvas (show_view), still the stacked canvas appears on top of content canvas.
    Can anyone guide me on this?
    Thanks,
    Av.

    change the visible property of stack canvas to no and
    when u want to display that canvas,,
    use GO_ITEM(to send to any item in stack canvas)...
    and to hide use HIDE_VIEW('your canvas name');
    and be sure when u running the form, your cursor wont go to stack canvas items... because when the cursor goes there, the canvas will appear..
    -- Aamir...

Maybe you are looking for

  • Migrate wls 5.1 war/ejb .jar to 6.0

    Accidentially, I put this posting in an old thread. Let me create a new thread and ask agian. Basically, I want to clarify the directory structure. I have an application with the following directory structure in WLS 5.1 web application: c:\weblogic\m

  • I would like to prevent any user including admins from modifying a stored procedure

    I would like to prevent any user including admins (apart from myself) from modifying a stored procedure. I cant use encryption because i need people to be able to read the code, I cant use trigger because we arent able to add triggers to system table

  • Homogenous System Copy SAP 4.7, Oracle 9.2.0.7

    hi I have SAP 4.7, Oracle 9.2.0.7 system on windows. I need to perform a system copy of this to QAS System. I need some dcouments/procedure to do the same. Since it is a very old version, so i am not able to find any document. Please assist.

  • Retroguard problem

    I'm using the Retroguard obfuscator, and it seems to work great, except there's one problem...it doesn't obfuscate my main class that I have in a jar file. The class name is DuckHunter (which is also the name of the jar file), and I don't know why re

  • SLCompatibility Plug-in Error

    Just tried to open a saved .doc file in pages 08. getting a SLCompatibility plug in error. how do i fix this?