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

Similar Messages

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

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

  • 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

  • How to change content/stacked canvases to tab canvas

    Hi,
    I have created a form which has one content canvas and multiple stacked canvases. The content canvas displays the first page and then we hv to click on next to go to the next stacked canvas and so on. I want to try making it in tabs (tab canvas) and then I will decide which one looks better and performs good.
    Can you guys please give me a detailed instruction on how to convert my content and stacked canvases to tab canvases. I have never done tab canvas. I tried one, I changed one of my present stacked canvas to tab but all the fields and texts were gone and there were just two tabs in it.
    Please suggest. Thanks in advance.

    Might get a better response in the Forms forum...
    Forms

  • How to create tab canvas from content

    Hi,
    I have created a form which has one content canvas and multiple stacked canvases. The content canvas displays the first page and then we hv to click on next to go to the next stacked canvas and so on. I want to try making it in tabs (tab canvas) and then I will decide which one looks better and performs good.
    Can you guys please give me a detailed instruction on how to convert my content and stacked canvases to tab canvases. I have never done tab canvas. I tried one, I changed one of my present stacked canvas to tab but all the fields and texts were gone and there were just two tabs in it.
    Please suggest. Thanks in advance.

    I will do so:
    I will create a blank tab canvas and then I will cut and copy in every tab page the frame of the content canvas
    A tab page for every content canvas
    Regards

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

  • Add Content Convas to a Form with Tab Canvas

    Hi,
    I have a From with the tab Canvas (with 3 tabs). I wanted to provide few buttons which are common to all the tabs.
    How can i do it?
    I know of one way that it can be done is to add the tab canvas to the content canvas and then put the buttons on the Content Canvas. I can't seem to add it(Content Canvas) to the existing form. I tried using a fresh form and then copying the existing tab canvas on to it, it doesn't work.
    I don't want to recreate this tab canvas as I have lots of code that has been added to the tab pages.
    Is there a way to solve my problem ?
    Appreciating in Advance.
    Reena

    Hi Reena,
    Create the content canvas. go to layout editor.
    Go to View --> Stacked Views on the menu.
    select the tab canvas and say ok.
    Now go to Edit --> Select all. Deselect the new content canvas .
    Move all these selected items on the tab canvas down so that you can have enough space on the top of content canvas.
    Cheers.
    Ram Dontineni.

  • How to move a block from Content to Tab Canvas?

    Hi All,
    I've make a master and detailed blocks in an content canvas
    Now this master block has another some detailed blocks, How to put a tab canvas on this content canvas?
    that is if I created a new tab canvas it will appear in another page not in the content canvas!

    Is the Tabbed Canvas larger than the Content Canvas? Also, just to clarify, when you created the tabbed canvas - did you draw the tabbed canvas on the content canvas in the Visual Designer? If you created the tabbed canvas by adding it to the Canvas Node in the Object Navigator and then set the appropriate properties to assign the window, x/y coordinates, etc., I've seen this cause unexpected behavior. It is better to draw the tabbed canvas on the content canvas rather than add it to the Canvas node through the object navigator.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.

  • 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

  • Focus problem in TAB Canvas form

    Hi
    I am calling FormB from FormA by using
    CALL_form('FormB.FMX',NO_HIDE);
    But when I click on the any other field ( other than the first field in the called Form ), the screen is becoming blank, again I need to click on the Execute Query button, but after that I can click on any other field it wont go invisible.
    FormB has TAB canvas
    Oracle & Form Version Oracle 10g
    THanks in advance

    Hi,
    When I run the form directly also I am getting the same problem,
    Hi Tony,
    <<Define what's blank??? Errors???? >> means , I need to click on the execute query button to see the data, even to see the controls in the forms.
    As I said, i am calling this form from another form, and I am assign the values in the prequery, I am gettign the result propery, but when I click on any other control, the form become empty, I need to click on exec query to see the values and tex items etc.
    This form has one content canvas and one tab canvas.  What are the properies to set to place tab canvas on the content canvas.

  • Tab Canvas

    Hi,
    I am using Forms 10g. I have Content canvas named CANVAS1 display few items from BLK1. I created a tab canvas called TAB_CAN contains TAB_PAGE1 and TAB_PAGE2, display items from BLK2
    I would like to show the form in enter query mode and Form should display both CANVAS1 and TAB_CAN
    Content canvas only displayed if i write in when-new-form-instance
    show_view('canvas1');
    show_view('tab_can');
    go_item('blk2.item1);
    go_item('blk1.item1)
    enter-query;
    tab canvas only displayed if i write code like this in write in when-new-form-instance
    show_view('canvas1');
    show_view('tab_can');
    go_item('blk1.item1)
    go_item('blk2.item1);
    enter-query;
    So, I request you to write a code to display both canvases and control should be in contant canvas and form should be enter-query mode.
    Regards,
    Murali

    Hello Murali,
    As you are saying you want to show a Content canvas (Canvas1) and Tab Canvas (Tab_Can) both at the same time, you need to use more than one window for this.
    Actually at any instant of time, you can show only one canvas on any window. So have two windows WINDOW 1 and WINDOW 2.
    In Content canvas, set the window as WINDOW1, and in WINDOW1 set the primary canvas as CANVAS1. And, for tab canvas actually you should have another content canvas(CANVAS2) on which you have placed this Tab_Can. So in content canvas (CANVAS2), set the window as WINDOW2, and in WINDOW2 set the primary canvas as CANVAS2.
    It will work i feel.
    Regards,
    Yathish...

  • Tab canvas color

    Hi,
    I had a form with content/stacked canvases and I converted all of them to tab so that it would be much easier for the users to view. Everything's working fine but somehow the color of all the canvases has changed to light gray. Earlier my canvases were teal (which is by default in 10g). I want to keep the default color i.e. teal, how can I do that?
    Thanks in advance.

    You can set all or some of the tab canvas's pages the background color you wish:
    Open the object navigator , and all the tab pages of the tab canvas.
    Right - click on each one - or press F4 - to activate the property palette. Change the background color as you like....
    Note: you can do this in just one click..... You simply select the tab pages and preesing F4 you alter the background color.....
    Greetings.
    Sim

  • Tab canva disapear whith stacked canvas

    hi guys,
    in my form there is:
    1. content canvas
    2.tabbed canvas
    when i put a stacked canvas the tabbed canvas disapear. any help?

    stack canvas can not put on top of tab canvas.
    what I did is to put tab canvas on content canvas and make tab canvas height very short, and then put stack canvas right below tab canvas that look like it's on tab.

Maybe you are looking for