Tab Canvas Properties

Using Forms6i Client Server.
I have created a tab canvas but am struggling to amend the visual attributes I want to.
In particular, the left, bottom and right edges are black.
Is it possible to change this?
I created a block using the block wizard and accepted any defaults I was offerred!

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?

Similar Messages

  • Setting stacked canvas properties when inside a tab canvas

    Hi all,
    I grope setting the x and y position of a stacked canvas programmatically : I work inside a tab canvas , there is one multirecord based block which is split into two tab pages. The problem is that the x and y positions of each first item in each tab of the block are no the same. And I want to hide and show the stacked canvas on which is based the scrollbar of the block , according to the top_most_tab_page.
    The stacked canvas has the same width and height as the tab canvas ; it has viewport width set to the width of the scrollbar , say 0.415 ; it has viewport height set to the length of the scrollbar , say 1.833 ; the viewport X/Y position on canvas properties are set to 0.
    I tried to set the VIEWPORT_X_POS and VIEWPORT_Y_POS properties of the view programmatically to place the scrollbar just sticky with the first item when in each tab page , but the scrollbar is not displayed on the desired place. It is moved.
    So how to place the stacked canvas at the right position to be stuck with the left first item ?
    Thank you very much indeed.

    I did a little test and it works (it'll only take you 3 min)
    Create a new Form.
    Add 3 Canvases 1 Content and 2 Tab with the following Properties
    Content
    Vieport X Position on Canvas: 0
    Vieport Y Position on Canvas: 0
    Width: 540
    Height: 324
    Master Tabs
    Vieport X: 35
    Vieport Y: 20
    Vieport Width: 460
    Vieport Heigth: 280
    Detail Tabs
    Vieport X: 150
    Vieport Y: 95
    Vieport Width: 260
    Vieport Heigth: 160
    Then go to Layout editor and while viewing the Content Canvas go to the menu View -> Stacked View...
    From there select both tab canvases to be shown.
    Also add a dummy item (i.e a button )somewhere in the form otherwise nothing will appear when you run the form.

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

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

  • Tab canvas inside a tab canvas

    Anyone knows how to put a tab canvas inside a tab canvas.
    thanks.

    I did a little test and it works (it'll only take you 3 min)
    Create a new Form.
    Add 3 Canvases 1 Content and 2 Tab with the following Properties
    Content
    Vieport X Position on Canvas: 0
    Vieport Y Position on Canvas: 0
    Width: 540
    Height: 324
    Master Tabs
    Vieport X: 35
    Vieport Y: 20
    Vieport Width: 460
    Vieport Heigth: 280
    Detail Tabs
    Vieport X: 150
    Vieport Y: 95
    Vieport Width: 260
    Vieport Heigth: 160
    Then go to Layout editor and while viewing the Content Canvas go to the menu View -> Stacked View...
    From there select both tab canvases to be shown.
    Also add a dummy item (i.e a button )somewhere in the form otherwise nothing will appear when you run the form.

  • Detail Window of a Tab canvas

    I have a tab canvas with one tab filling up the whole tab page with 15 horizontal line, but the last column is a detail button which I want to see additional info for that line,
    should I add rowid for that block - to select that row when I press the detail button??
    Do I use a stacked canvas or a content canvas?
    Do I need a new block for that detail info and use a post query from the 1st block to populate the second block??
    Any insight would be helpful
    Thx

    Since you are so set on the post-query method, do this:
    Do NOT use a post-query. Just create one or more additional items in the same block that are assigned to a separate stacked canvas. Set these items singly-occurring (property Number-of-Items-Displayed = 1). Create a "Details" button in your block on the main canvas that user can click. All its WBP trigger needs to do is:
        Go_Item('Blk.Detail_Item');
    I don't think you even need a:
        Show_View('Detail_Canvas');
    On the stacked canvas, create a cancel button with a WBP trigger that does a Go_Item('Blk.<main-canvas-item>'). And make sure you cannot use the Tab or Enter key to navigate into the details canvas items (Set the appropriate Next-Navigation-Item properties).
    The above method is certainly the easiest. However, if for some odd reason, you don't want to fetch all the details for every record during the initial query, then you can use a different method. This one involves the same stacked canvas and details button. But use a control block and one or more items to display the data. In the WBP trigger, Select detail_columns into :Control_Block.detail_item where rowid = :base_table_block.rowid; and then Go_Item('Control_block.detail_item'); Control_block.detail_item is of course displayed on the stacked canvas.

  • Problem using tab canvas

    I am creating a form which has 2 canvases . The first one is a content canvas . The second one is a tab canvas . The problem is that at run time ,I need to click the "next block" button to get the tab canvas . It should have appeared below my content canvas to be correct . What do I need to do to solve this problem ? Thanks.

    How did you create your canvases? Did you create them separately and then through the properties of the Tab Canvas tell it where to be displayed? If so, this could be problematic. The best option I've found is to create your content canvas and then - using the Tools pallet on the left of the canvas screen - select the Tabbed Canvas button and draw the tabbed canvas on the content canvas. This ensures your tabbed canvas "fits" properly on your content canvas and gets displayed automatically during run-time.
    If this doesn't solve the issue, let us know a bit more details about how you created the canvases and we should be able to help you figure out a solution.
    Craig...

  • Generating tab canvas pages with Headstart olb fails (CDG-01364)

    I'm trying to generate a form (master + details), details on tab canvas pages.
    When generating with qmsolb65.olb generation fails with error CDG-01364 (Available width on content canvas 2 (-199) less than minimum allowable width (450)).
    When generating with standard Designer olb (Ofgstnd1.olb) generation succeeds.
    Has anyone seen this behaviour and can provide me with a solution? Changing canvas tab properties in Headstart olb perhaps?
    Designer 6.5 R4.1.1 , Design Editor 6.5.69.1.0 Production
    Headstart 6.5, olb d.d. 03-08-2001
    kind regards
    Geert

    We had the same problem.
    We got around it by, each detail Module Component is set as 'NEW TAB CANVAS PAGE' and set all the SIZE properties (width,height,view width and view height) to the relevent values, again for each MC.
    Hope this help..

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

  • Forms 6i - Highlight a tab page label (BOLD or coloring) in a tabbed canvas

    Hi Sir,
    I have an urgent requirement wherein I need to highlight a particular tab page header (label) either via
    1. Making the tab page label BOLD
    Or
    2. Coloring that particular tab page.
    OR
    some other way.
    Could anyone please help me on this.
    Regards,
    Kiran

    No version of Oracle Forms allows you change these properties of a tabbed canvas. If you were using Forms 10g or higher, you would be able to use the Oracle Forms Look and Feel Project which is a set of JavaBeans created by Francois Degrelle and enables you the change many of the properties that Forms won't let you change. Unfortunately, you are stuck with what is available in Forms 6i.
    Craig...

  • How to fix part of a page in a tab canvas

    How can we allow part of columns in a page in tab canvas to be scrolled ?
    null

    The columns that you wish to scroll through should be placed on a stacked canvas. A stacked canvas has properties that allow you to show horizontal and vertical scrollbars.
    Stacked canvases have two sizes that you need to be aware of the "Physical" width and height. This is the available space that you can place your items.
    Stacked views also have a viewport size which is the size it shows on the screen and you can "scroll" to see the rest the physical size.
    Hope this helps,
    Candace Stover
    Forms Product Management
    null

  • 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

    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

Maybe you are looking for

  • Connection Configuration to Central Services Registry in PI7.1

    Hi Freinds, while in CE7.1-   NWA->Configuration Wizard-> I have this set up file Connection Configuration to Central Services Registry to configure the central service registry. while on PI7.1 EHP-1 I dont have this setup file Connection Configurati

  • Download to excel from alv grid

    I developed a alv report and I have one percentage field(say PER) in the grid.When I sum on that field PER then it comes in my formula basis.Suppose If I have 5 line items and all PER field have a value 2 then when I sum in PER column then it come 7

  • Linking to a Word doc

    I am trying to create a link to open a Word document from my FlashHelp file. I am using Insert Hyperlink, selecting 'File' in 'Link To' and then I select the doc to link to and 'Display in frame:' 'New Window'. If I then select 'View Selected Item' f

  • Setting Theme's Max Whole Image Level from Java

    Hi, I'm using JDeveloper11g and I have problems with predefined themes. I have developed an application which shows a predefined theme through the <dvt:predefinedTheme> component. Because there too many FOIs , I want to set the "Max Whole Image Level

  • Lion Kernel Panic in Mini

    Can anybody make sense of the Kernel Panic so as to lead me into the right place? I've unplugged all my firewire and USB and running different browsers and it always crashes. I can't find the common denominator..... Interval Since Last Panic Report: