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

Similar Messages

  • Scroll bar in tab canvas

    hi guys
    iam developing a custom form using forms 6i
    this is my prob i have a content canvas and a tab canvas in my window i have abt 20 col in my one of tab and i want to use a scroll bar in one tab how can i get it can any one help me urgent
    ravi

    Well, you are kind of out of luck: no horizontal scrollbar for tab canvases.
    Still, here's what I did to solve this problem:
    - I make a stacked canvas that would display above the tab-canvas, having an horizontal scrollbar
    - on the when-tab-page-changed I write the code needed to get to show/hide the stacked canvas, depending on which tab activates.
    It's not so simple, still this works.
    If anyone has a better solution without using java beans or some other complications, I'd really like to know how.

  • Scroll in a tab canvas

    I have a master fixed horizontal toolbar
    attached to a 2 page tabbed canvas.
    The first page is a detail block of say 5 records displayed vertically.
    How can I add a scroll bar verically to scroll tru my columns as there are lots some 20 columns for the first tab page only.
    Or is it that I should not condider using tab canvas?

    You need three canvas.
    1) A tab canvas as the one you have built.
    2) second canvas on top of page 1 of the first one , and you built you first block with vertical scroll bar on it
    2) a 3rd canvas on page 2 of the first canvas.
    You should have a scroll bar with you click tab1 and hide scroll bar when you click page 2 tab.
    null

  • Scroll bars on a tab canvas

    Hi
    when I run my forms the scroll bar on the tab canvas is disabled. How can enable it?

    hi
    Scroll bar will be enable once the no of records in the block increases , when u have one or two records the need of scroll bar is unnecessary so it is disabled.
    u try adding few records to the block and check for the scroll bar.....

  • Scroll Bar/visibility in Tab canvas/with child blocks property false

    Hi Every one:
    I am working on a Tab Canvas which has a parent block with 2 child Blocks, I am able to hide all items in a child block depend on the value of Parent block but not been able to hide Scroll Bar.
    If any one can give me some ideas. would be a great help.
    Thanx
    null

    perhabs you can create an item which is disabled and no level and not visible and has the same width and heigth of the scrollbar or bigger and if you want to set the toolbar not visible set the item visible.
    (i don't know if you can understand my bad english)
    ~
    pascal

  • 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

  • How: Stacked Canvas on Tab Canvas ?

    Hi All,
    I have content canvas in which I have placed tab canvas with 5 tabs, and on one of the tab I want to place stacked canvas because I have to display multiple blocks on this stacked canvas with vertical scroll bar (This I can specify by saying Vertical scroll bar as Yes for Stacked canvas).
    There is a restriction that, it is not possible to place stacked canvas on tab canvas (Possible only on content canvas), so is there any other workaround.
    Please let me know if anyone has worked on similar type of screen development. Appreciate if anyone can provide some sample code.
    Advance thanks for your time and help.
    Regards
    CJ

    Hi All,
    I found the solution and successfully implemented the desired functionality
    DECLARE
         v_Tab VARCHAR2(1000);
    BEGIN
         v_Tab := GET_CANVAS_PROPERTY('CAN_TABS', TOPMOST_TAB_PAGE);
         IF v_Tab = 'a1' THEN
         GO_BLOCK('BLK1');
              EXECUTE_QUERY;
         ELSIF v_Tab = 'a2' THEN
              GO_BLOCK('BLK2');
              EXECUTE_QUERY;
         ELSIF v_Tab = 'a3' THEN
    *          Set_View_Property('CAN_STK_FIS_NET',HEIGHT,280);*
    *          Set_View_Property('CAN_STK_FIS_NET',WIDTH,630);*
    *          Set_View_Property('CAN_STK_FIS_NET',DISPLAY_POSITION,6,135);*
    *          SHOW_VIEW('CAN_STK_FIS_NET');     *     
              GO_BLOCK('BLK_FIS1_GRID');
              EXECUTE_QUERY;
    END IF;
    END ;
    I have seperately created stacked canvas 'CAN_STK_FIS_NET' and placed multiple blocks as per requirement and able to achieve the functionality.
    Please let me know if any one need any detail explanation.
    regards
    cj

  • How to put a long tab canvas on 2 or more lignes

    I have 15 basic tables ( 2 or 3 fields).
    I would like to manage tese tables from one page.
    When I generated the page I got a long tab canvas that I should scroll at rigth to see the rest of the tabs;
    My question is : can I put these tabs under 2 or more lines
    Thanks in advance

    Monta,
    This is more a UIX question - well, I assume you are using UIX - than a JHeadstart question. It is not something you solve in a pre-generation way.
    The easiest way to address this might be to edit the generated <app>TabBar.uit file. It includes a single tabBar element that stretches along the full length of the page. What you can do is include a second or even more tabBar elements, each having a subset of your tabs. Include the tabBar elements in a flow layout: as long as they fit on the page, they will be displayed a single line, when that does not fit anymore it starts to wrap.
    <flowLayout>
    <contents>
    <tabBar selectedIndex="${uix.rootAttr.selectedIndex}">
    <contents>
    <link text="Departments1" destination="javascript:doNavigate('StartDepartments1.do');"/>
    <link text="Employees1" destination="javascript:doNavigate('StartEmployees1.do');"/>
    </contents>
    <attributeMap>
    <rootAttributeMap/>
    </attributeMap>
    <childMap>
    <rootChildMap/>
    </childMap>
    </tabBar>
    <tabBar selectedIndex="${uix.rootAttr.selectedIndex}">
    <contents>
    <link text="Extra Tab" destination="javascript:doNavigate('StartDepartments1.do');" />
    <link text="Nog een tab" destination="javascript:doNavigate('StartEmployees1.do');"/>
    <link text="Salesteam" destination="javascript:doNavigate('StartSalesteam.do');"/>
    </contents>
    <attributeMap>
    <rootAttributeMap/>
    </attributeMap>
    <childMap>
    <rootChildMap/>
    </childMap>
    </tabBar>
    </contents>
    </flowLayout>
    However, there is an issue with setting the correct selected index on the tabbars. You will probably have to write some JavaScript to get that exactly right; right now, selecting the first tab in any of the tabBar elements will highlight the first tab in all tabbars...
    regards
    Lucas

  • Regarding Creating Horizontally moving tabbed canvas at runtime

    Hi..
    Is it possible to create a Horizontal dynamically
    moving Tabbed Canvas.
    I want to move the particular tab page of the tabbed
    canvas horizonatlly during runtime by placing a
    horizontal scroll bar.
    Could anyone tell me how it in can be done with steps?
    Plz reply me asap it is urgent.
    Thanks & Regards,
    Venkatesan.S

    Mmm
    Let's see.. there are two tips:
    - 1st: modify canvas length dinamically
    - 2nd: put the scroll bar to the block into the canvas
    Solutions:
    - 1st: Use the set_canvas_property built-in (with WITDH parameter)
    - 2nd: There are no problems to put an hoprizontal scrollbar associated to the block you're viewing into the page of your tabbed canvas
    (To manage the scroll bar.. Have a look at set_block_property built-in)
    Regards,
    Jose L.

  • Horizontal Scrollbar on Tab Canvas

    Hello,
    I have to show horizontal scrollbar on my tab canvas.
    I have one Content canvas on this i hv 4 tab canvas with different datablocks. Need to show horizontal scrollbar as the number of fields are the more than tab canvas size.
    Please assist.
    Is there any other workaround, if it is not possible through any property??
    Thank you in advance.

    1) create a stack canvas and assign window to it
    2) create your items on stack canvas
    3) set the stack canvas view port width and height according to your visible area of TAB canvas (the size of canvas must be more than View port)
    4) set its X and Y position according to the TABs
    5) set show scroll bar to YES horizontally
    6) set WHEN-TAB-PAGE-CHANGED trigger to show and hide canvases based on current tab selection.
    Hope you got the idea

  • Scrollbar for Tab canvas

    Hi
    I have added a scrollbar on window for Tab canvas but remains inactive even the layout goes beyond the window.But it works for Content canvas.
    Can somebody plz tell me is there any way to use scroll bar for tab canvas
    Ravi

    The scrollbar works for tab canvases as well as content canvases. Not sure what you mean by "remains inactive even the layout goes beyond the window".

  • Horizontal toolbar on Tab Canvas

    Hi All,
    Please help me get the horizontal toolbar on the tab canvas type. I am using stacked canvas but I am not getting the toolbar. Please help. Maybe I am displaying it wrong . Thanks

    1) create a stack canvas and assign window to it
    2) create your items on stack canvas
    3) set the stack canvas view port width and height according to your visible area of TAB canvas (the size of canvas must be more than View port)
    4) set its X and Y position according to the TABs
    5) set show scroll bar to YES horizontally
    6) set WHEN-TAB-PAGE-CHANGED trigger to show and hide canvases based on current tab selection.
    Hope you got the idea

  • Scrollbar in the Tab Canvas?

    Hi ,
    If the tab canvas have many tabs a scroll bar is displaying at the end.Is there any solution to show the tabs in the next line without the scrollbar.If so plz help me.
    Thanx in advance
    Vani

    Hi
    No my dear you will find scrollbar,if you want avoid then you should split your form
    Warm Regards

  • Urgent: Stack Canvas in Tab canvas

    Hi,
    I have a very urgent requirement. Please help me solving this.
    I want to have One tab canvas which has three tab pages.
    On the First Tab i want to fetch the data from some table say XX_CUSTOM_TABLE.
    Now, This should be displayed in Tabular format with Horizontal and vertical scrolling as the table has many columns.
    Please give me step by step instructions so that it could be implemented quickly.
    P.S : I am using Oracle forms 6i.
    Thanks in advance,
    Yadnesh

    Hi,
    1. When i open the form only the fields added in the tab canvas are visible.
    Where u have drawn the stack canvas,you need to create in the main canvas where ur tab canvas is there and u need to drag it to tab canvas.Have u created the trigger when tab_page_changed?
    2. when i change the tab page from tab 1 to tab 2 and then again get back to tab 1, then the stack canvas fields are visible and the fields in tab gets invisible.
    Just place the stack canvas correctly after the fields in tab page 1.
    3. The stack canvas is not horizontally scrolling.
    Just go to the property palette of stack canvas and make yes to both horizontal and vertical to yes.
    Do i have to create a stack canvas separately? and then how do i drag it into tab canvas. i am still not getting this. because.
    when i open the tab canvas page i do not find the stack layout so that i can drag it like a normal text item.
    Yes u need to create a stack canvas separately. Just open the Mani canvas the tab pages are there, then in that click the stack canvas icon and create a stack canvas and create all the fields, and move the stack canvas to the tab page. And u need to create a when tab page changed trigger at form level.
    Regards
    Sri

  • Horizontal ScrollBar disables for Tab Canvas

    Dear OTN Members,
    I am developing a form with tab canvases.
    If I set Horizontal Scroll Bar property to true, it comes as
    disabled during the execution of the form. I am only able to
    move to the rest of the items through keyboard.
    Thanks in Advance.
    Bye
    Meenakshi Sundaram Ganesh
    null

    Hi,
    not directly. However, if - at runtime - you overlay parts of the tab canvas with a stacked canvas, then you could have this showing a horizontal scroll bar. All you tab canvas content need to be on the stack canvas though.
    Frank

Maybe you are looking for

  • Menu bar is not visible, but neither is Full Screen mode button. How do I fix this?

    While I am in Firefox, it appears that I am in Full Screen mode, as my Menu Bar is missing while in the application, but when I looked up how to troubleshoot, it told me to click on the Full Screen mode button (with diagonal arrows) but it is not vis

  • Distiller 8.1 NOT respecting eps BoundingBox

    Distiller 8.1 (OSX 10.4.11) When creating a pdf from an eps file using Distiller with setting e.g. "High Quality Print.joboptions" the "BoundingBox" of the eps-file is not reflected in the generated pdf. Of course the last DSC item is always checked

  • Cannot Connect to HD post Firmware Update

    Hello All: I recently downloaded and installed the latests Firmware for Airport 802.11n. I can no longer access the HD attached through a USB hub to the Airport. I can print to the printer attached via the same hub. I can "see" the HDD but either get

  • Problems launching exernal .chm, part 2

    We have are having major issues trying to conver our Winhelp files to HTML. We have several .hlp files linked. Unfortunately we can't recreate those links in our .chm files. I have read and followed Pete Lees suggestions from the first "Problems laun

  • How to Install forms6i on Linux

    I am new to linux .Download forms 6i linux version for testing . Now after extraction of tar file. How to proceed for Installation?How to get OUI? any link or oracle doc?