Tab canvas on a content Canvas

Hi,
I need to put a tab canvas on a content canvas in 10g R2.
and have items from the same data block distributed across the canvases.
I have set them up with the appropriate viewport for the tab canvas, but at runtime, the tab canvas does not appear untill an item on it gets the focus.
Both canvases are set to the same window.
I'm sure this is possible and I think I have done it before but for some unknown reason can't seem to remember how !.
Thanks in Advance
Regards,
Tony Garabedian

Hi Steve,
Yup, it is definitely related to the window, if the window is the form's console window and the window is the first window created in the form (default window created with the first canvas mostly WINDOW1) the tab canvas is behaving in that way.
Create a new window and make sure that this window is not the console window and the behavior is very much normal, the tab canvas appears as soon as the window gets focused.
This what I have found out for now, if later testing shows anything else I'll post the results.
Regards,
Tony Garabedian
I just added a stack canvas on that same window and the problem returned....
So I rearranged the canvases, and purposely set the canvas on the console window, it worked, so now it seems that the problem appears if you have a stacked canvas AND a tab canvas on the same window.
Hope this ain't a bug it sure looks and acts like one though.
Message was edited by:
Tony Garabedian

Similar Messages

  • Created a tab canvas inside a content canvas, but i can't create a new ...

    i created a tab canvas inside a content canvas, but after that, i want to create a new empty canvas by clicking the canvas node ,then "+" , but it always gave me a new canvas with the tab canvas in it as default. this problem happens when i use tab canvas , if i just use other items i.e. text, button,list, i can create a new empty canvas. Thanks.

    I don't quite understand the steps you took to be able to recreate the problem. But you can change the canvas type of a canvas from the property palette.

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

  • 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

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

  • Two content canvas in single window

    Hi friends,
    Possible to put 2 content canvases in a single window, when im executing i should get both canvas display( if i adjust the size of canvas).
    Regards
    Veekay

    Hi Veekay
    Possible to put 2 content canvases in a single window, when im executing i should get both canvas display( if i adjust the size of canvas).i don't think it's possible i haven't tried before... but u can use tab canvas or stacked canvas instead ?!
    What's the problem ? All Forms must have at least 1 "Content" canvas in which all content is displayed. You can arrange the Stacked or Tabbed canvases on your Content canvas in such a way that the information in the Content canvas will be also visible while u can resize the stacked or tabbed canvas in a specific area of the content canvas.
    if it would be possible why they invent stacked & tab canvas that's my point of view.
    but u can give it a try to make sure by using in when button pressed trigger the following...
    show_view('canvas name');Hope it helps...
    Regards,
    Abdetu...

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

  • 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

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

  • Canvas becomes too big when generating tabs on a content canvas

    I want to generate the following layout:
    <New content canvas> block 1 height 15 width 80
    prompt: field
    prompt: field
    <New tab canvas page> tab 1 height 31 width 80
    Multirecord block which is a detail of block 1
    <New tab canvas page> tab 2 height 31 width 80
    Also MR block which is a detail of block 1
    Window height 46 width 81
    Problem is that the height of the tab canvas pages becomes 46 and not 31, so the height of the window becomes 61. I've tried several options, als with view height and width, but it is always reproducable and wrong. And with every module I build with the same sort of layout.

    When i'm not been able to get the right size i will add a pre-form-trigger and resize the object at runtime. It's saves me a lot of time instead of trying to instruct the generator to do so.
    I'm always using the pre-form-trigger and not the when-new-form-instance-trigger because Headstart will do the initialization after the pre-form-trigger is fired and so it's taking the changes made in the pre-form-trigger into account.

  • 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

  • Master block content canvas and Detail Tabbed Canvas...

    Hi All,
    I am trying to create master block content canvas and then detail block on tabbed canvas.
    How i can view these two canvases together ?
    these two canvases opening in separately in layout editor...how i can show them both in one window..???
    Please some advice on this ..
    Thanks,

    Hi
    these two canvases opening in separately in layout editor...how i can show them both in one window..???it's just a matter of x & y issue ; pls increase the y position of the tab canvas to move it downward (straight lower down the content) minimize the tab w & h if necessary just for temporary adjustments form design.
    By this way u would control the design layout of the two canvases.
    Hope this helps...
    Regards,
    Amatu Allah

Maybe you are looking for