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

Similar Messages

  • Runtime tab canvas does not look the same as designed in layout editor.

    I created a tab canvas with the following physical properties:
    Corner Style - Chamfered
    Width Style - Variable
    Active Style - Bold
    The canvas looks nice in the layout editor, with the above properties. However, at runtime, the tab canvas seems to ignore the above properties and instead shows up with non-chamfered looking (whatever chamfered means) fixed-width rectangular tabs and the active tab page label is not in bold font. Is there a runtime setting that I'm missing here?
    null

    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?

  • Oracle Forms 10G(tabbed canvasses not working the same as in Forms 6i)

    Hi everyone,
    I have a form which gets called from another form through a list of value. The called form(second form) has a group of tabbed canvases which get displayed depending on the parameters passed from the first form.
    The Form is working prefectly fine in Forms 6i but when I converted the same form in to forms 10G it does not seem to work the same way. The tabbed canvasses are not getting displayed. I am manually having to press the execute query to get data displayed in the tabbed canvasses. I checked the parameters that are being passed and they are the same as that in Forms 6i.
    Please let me know where my 10G Form is going wrong. Appreciate your help, please send me an email on [email protected]
    Thanks

    duplicate
    Re: Oracle Forms 10G not working as Oracle Forms 6i

  • How to change the background color of  a Tab Canvas

    Hi All,
    I accidentally changed existing background color of a tab Canvas to ' gray' which is not matching with main canvas (which has default).
    How can I change background color to default. Please help me.
    -Thanks

    In the property palette of the tab page, click on the "Background Color" property and click the "Inherit" button on the top of the property palette, this will revert the value of the property to the default when the tab page was created which is <Unspecified>.
    But if your tab page has inherited the color from a property class it will revert to what was specified in the property class.
    Tony

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

  • 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

  • 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

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

  • 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

  • Forms 6i, Stacked & Tabbed Canvas- Wierd behaviour

    Hi,
    I am having a wierd problem:
    Scenario:
    I have a datablock of 40 columns.
    I put 1 (say col-1 on page_1 and col-21 on page_2) column each on two different TAB pages.
    I created 2 stacked canvases: page_1_stacked & page_2_stacked
    I put col-2 to col-10 on page_1_stacked
    and col-22 to col-40 on page_2_stacked
    I used the following code to show/hide the appropriate cols/stack canvases when the users changes Tab pages:
    [when-tab-page-changed
    if (:system.tab_new_page ='PAGE_1')
         then
         show_view('PAGE_1_STACKED');
         hide_view(''PAGE_2_STACKED'');
    elsif (:system.tab_new_page ='PAGE_2')
         then
         hide_view('PAGE_1_STACKED');
         show_view(''PAGE_2_STACKED'');
    end if;
    Problem:
    Everything seems to work fine, the stacked canvases show/hide as expected, but --->as soon as I put my cursor in any column on TABBED PAGE (here col-1 or col-21), all the stacked canvases vanish
    -->if as a result of above case where I put the cursor in a tabbed-page col and canvas vanished, I navigate to the next field (which is on canvas), the canvas shows up (which is normal)....but then this canvas wont get hidden with my hide view... and end up with all stacked canvases shown together or none at all
    I have played around with all the properties and am really trapped.
    Please help!
    Thanks.

    Devang, are you aware that if you put the cursor focus in a field, Forms will ignore any show_view or hide_view commands if they cause the cursor to disappear? And if your cursor focus is in a field in a stacked view, hide_view will not work. Forms will not let you hide or cover up what ever item is identified by :System.Cursor_Item.
    I do not know why you need Col_1 or col_21 on the tab canvas. Put them on your stacked canvasses, too.
    Use a when-new-item-instance block-level trigger to determine which tab page should be displayed. If :System.trigger_item = col_1 through col_20, make sure Page_1 is displayed, and for col_21 through col_40, make sure Page_2 is displayed.
    Similarly, use a when-tab-page-changed trigger to move the cursor to the correct canvas. You wouldn't even need to use show_view or hide_view, Forms will do that for you each time you move into an item on either canvas.
    And why are you using two canvases anyway? Since you are using a horizontal scrollbar, why not put them all on a single canvas? (And then you wouldn't need the tab pages.)

  • Forms 5 Tab Canvas & Horizontal Scrollbar

    We are trying to implement a tab canvas which will hold a multi-record data block. The difficulty is that we would like to display a lot of fields and there is no Horizontal Scrollbar easily available for the Tab Canvas.
    We are thinking about "simulating" a tab canvas by using stacked canvases. The stacked canvas allows us to have the scrollbar, but looses some of the look & feel of a tab canvas.
    Anyone try to do this in Forms 5? How about anyone try to place a stacked canvas on top of a tab canvas?

    We're using forms 6.0.8.8. Our standard practice is to never put items on a tab canvas, instead we put stacked canvas' on the tab canvas. Besides having canvas scroll bars, it also provides a basis to work around documented bugs for refreshing/resizing windows when returning from other forms/windows of different sizes etc.
    null

  • Scrolling Tab Canvas

    Hi,
    how do we achieve horizontal scroll in a tab canvas ? It doesnt allow to place a stacked canvas on a Tab canvas. Do we have to put a content canvas on top of a tab and then place stacked on top of content ?
    Regards,
    Suresh

    its simple
    - Create Stack canvas simple separately without any canvas with all necessary items buttons etc etc SET its X and Y position according to the visibility with the Tab page
    - on tab page there should not be any item
    - Write on WHEN-TAB-PAGE-CHANGED trigger at form level call that stack canvas
    Note: i dont remember exact system variable name right now :D :system.new_tab_page check online help
      if :system.new_tab_page = 'MYPAGE' then
          go_block('Myblock');
          hide_all_views; --- custom procedure to hide all other stack canvases
          show_view('MyStack');
    end if;- For ease u can set the same name of the stack canvas as tab page and block name if possible then the code would be simple
       go_block(:system.new_tab_page);
       hide_all_views;
       show_view(:system.new_tab_page);
    if responses are helpful or correct plz mark it
    Baig,
    http://baigsorcl.blogspot.com

  • 2 tab canvasses on a single window (form)

    Hi !
    Does anybody know of a way to put 2 tab canvases on a single window. I would like to place 2 tab canvases, each holding 2 tab pages, on 1 window. However, from the moment you use "new tab canvas page" he directly puts the page behind the other tab pages instead of starting a new one. I already tried working with stacked canvases or "new content canvas". Even if your new tab canvas page is inside a new canvas he keeps on putting the tab pages behind the previous tab pages.
    Would anybody know of a workaround ?
    Many thanks !
    Kris

    Hi Saeed,
    A possible solution to generate two tab canvasses on one window is the following:
    Add a (dummy) module component with (dummy) items between the last module component of the first tab and the first module component of the second tab.
    At runtime, you can make this extra module component invisible.
    So, in Designer you'll have the following Module Components, with property 'Placement':
    MC1. 'New Tab Canvas Page' -- first tab-page of first tab
    MC2. 'New Tab Canvas Page' -- second tab-page of first tab
    MC3. 'New Content canvas' -- dummy block, between two tab canvases
    MC4. 'New Tab Canvas Page' -- first tab-page of second tab
    MC5. 'New Tab Canvas Page' -- second tab-page of second tab
    HTH,
    Lennart de Vos

  • 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

Maybe you are looking for

  • Missing Movies Folder in Sidebar

    When opening a Finder window, one of my sidebar folders is missing. I have the Applications, Documents, Pictures, Music and User folders, but the Movies folder is nowhere to be seen. I tried searching for it in Spotlight and got nothing. Because of t

  • Flash builder 4 (beta 2) dropdown attributes different?? and differences between beta 1 and 2

    hey guys, i had everything working before just fine, but in this beta 2, my drop down lists are not working... i realised that previously the attribute requiresSelection in the dropdownlist tag of beta 1, is now "requireSelection" and it is giving me

  • Sudden power down

    Hi everyone, I've got a 13" MacBook (white) and since last night, it started suddenly powering down on its on, while I was on AC power (with the battery in). Prior to that, I was having problems with the fan suddenly going into overdrive although the

  • I can't reset my security qustion avtualy it don't send it to my E-mail

    i can't reset my security qustion avtualy it don't send it to my E-mail

  • Credit and Debit Memo (Vendor and Customer)

    Hi Team, Credit Memo raised means - Debit to SAP/Company and Credit to Vendor/Customer? Debit Memo raised means - Credit to SAP/Company and debit to Vendor/Customer? Is this understanding is correct? Thanks Ram