Forms tab canvases

Hi,
Does anyone know how can I set the colour of the background and foreground on the heading of each tab page?
Wright now,I'm setting the tab page visual attribute,but Forms is showing some others colours on the tab pages headings.
I'm using forms 9i.

Hi Frank,
In the layout editor,background and foreground colors are exactly the ones I'm setting.
I'm not having any problems with the lowercase or uppercase of the chars,but with the colors.
But in runtime,these colors are changing to some colors depending on the LAF.
Isn't really some other way to set them?(when I've changed the LAF,they changed too)

Similar Messages

  • Forms Tabbed Canvases

    I have got a tabbed canvas on my form. I can change focus from 1 tab to another even when the current record/item fails validation. This validation will only fail once I am in the other tab page. How can I make sure I am not able to move on to the next tab page until the item/record I am on is validated ?
    Thanks in advance

    I use a when-tab-page-changed trigger to move the cursor to the first item on the corresponding tab page. If the Go_Item fails, error processing on the first tab page forces the cursor to stay in the item where validation failed, and the first tab page will remain in view.
    -- When-Tab-Page-Changed form-level trigger                          --*
    Declare
      new_pg   varchar2(30) := :system.tab_new_page;
    Begin
      If new_pg <> get_item_property(:system.cursor_item,item_tab_page) then
      -- cursor is on a different tab page.  Need to navigate to an item
      -- on the requested tab page.
        If new_pg = 'TAB1' then
          Go_item('BLOCK1.ITM_1');
        elsif new_pg = 'TAB2' then
          Go_item('BLOCK2.ITM_1');
      end if;
    End;

  • Problem with Two tab canvases in a form

    Hi Experts,
    I am working on Oracle forms 10g (OS: Windows7) from last 1 year. I have got a requirement to create a form with one tab canvas CAN_TAB (with 2 tab pages) in main page and a pop up tab canvas ASN_SPLIT_TAB(with 2 tab pages). Now the problem is whenever we click on tabs it will fire WHEN-TAB-PAGE-CHANGED trigger and executes the complete code. As a result even if i click a tab page in CAN_TAB canvas it will fire for ASN_SPLIT_CANVAS as well. Check the below code (WHEN-TAB-PAGE-CHANGED). Now i have to differentiate between two tab canvases so that i can use IF-ELSE statement to overcome this problem. Please share your useful comments.
    BEGIN
    Lv_Toppage := Upper(Get_canvas_property('CAN_TAB',Topmost_Tab_page));
      if Lv_Toppage = 'LINES' THEN 
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_LINES');
      show_view('CAN_SCROLL');
      elsif Lv_Toppage = 'ATTRIBUTES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_ATT' );
      elsif Lv_Toppage = 'AUDIT' THEN
      go_item('shipment_summary.confirmedby');
      show_view('AUDIT');
      end if;
    Lv_Toppage := Upper(Get_canvas_property('ASN_SPLIT_TAB',Topmost_Tab_page));
      IF Lv_Toppage = 'INVOICE_SPLIT' THEN
      show_view('ASN_SPLIT_STACK');
      go_item('ASN_INBOUND_CATEGORY_SUMMARY.brand_representitive');
      ELSIF Lv_Toppage = 'SUPPLIER' THEN
      go_item('CONTROL.cancel_but');
      END IF;
      hide_view('ASN_SPLIT_STACK');
    END;

    Thanks Craig. You made it happen..!! Below code is working fine for me.
    IF :SYSTEM.tab_new_page = 'LINES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_LINES');
      show_view('CAN_SCROLL');
    ELSIF :SYSTEM.tab_new_page = 'ATTRIBUTES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_ATT' );
    ELSIF :SYSTEM.tab_new_page = 'INVOICE_SPLIT' THEN
    END IF;

  • Calendar doesn't work with tab canvases

    If you generate a form (at V6) which has tab canvases on it, & also has a date item with LOV against it, you hit a problem with Headstart code's handling of the canvases. If you use the calendar LOV, when the calendar pop-up is de-activated, the tab canvases have disappeared from the main window.

    Lauri
    I went back & had another look at this, & realised that it's the same forms problem I was hitting with the combination of multi-select LOV and spreadtables. It's only happening when the calendar LOV is fired on a block which has a spreadtable, & where the next block on the form is a tab canvas. Is there a bug number for this problem, so I can track it? Thanks for the solution you provided earlier, but we're doing 100% generation here so I'd rather not be making post-generation changes to code.

  • System.Tab_New_Page - with multiple tab canvases

    I'm not sure if this is a bug or not, but here goes. Forms 10.1.2.0.2
    I have a form with TWO different tab canvases - Orders_TC and Lines_Tc (Orders Tabbed Canvas and Lines Tabbed Canvas). The Orders_TC has 3 pages - page1, page2, page3 and the Lines_TC has 5 pages - page1 through to page5.
    Now - in the When-Tab-Page-Changed trigger, inspecting System.Tab_New_Page simply gives me "PAGE2" - but - WHICH "PAGE2" - how do I determine if it was PAGE2 of the Orders or Lines canvas?
    Obviously employing some naming standard on the tab pages would resolve the problem, however, I would have expected System.Tab_New_Page to return either Orders_Tc.Page2 or Lines_Tc.Page2.
    Am I missing something? Or is there a way to determine which PAGE2 it is?
    Any help appreciated.
    Regards,
    Bren

    How about :system.event_canvas
    I just tried it and it works in 6i forms. Not documented in the help, but seems to work. I just guessed at the name.
    Returns the name of the canvas that the tab page was changed on.
    --pat                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Spread table on tab canvases doesn't work

    Hi,
    I've got a form with a master/details block.
    The detail blocks are on tab canvases and are multi-records. I'd like to have spread tables, but it doesn't work.
    Is it a normal behaviour ?
    I'm working with Designer 6.0.3.5.0
    Thanks for your help
    Dominique

    Are you really sure?
    Once I had to generate a Form with such a requirement. On Metalink I found that it was possible with 6i.
    Eventually, the requirement was changed, so I didn't generate the Form and have tried it myself.
    regards,
    Harm

  • Tab canvases

    Hi, Have not used Oracle Forms for awhile. Can someone tell me how to create multiple tab canvases.
    Thanks,
    nancy

    No need to reply. I have the old version of forms. DBA is updating for me now.
    Thanks,
    nancy

  • # of tab canvases dependant on the # of groups that come back from a query

    Hi,
         I'm trying to create a dynamic creation of blocks, and tab canvases dependant on the number of groups that come back from a query. If 4 groups come back then I desire 4 tabs with the appropriate data in each tab.

    Basically Forms is not intended to build screens programmatically but it is possible to kluj it. Here's what you could do.
    Create a form with (say) four tabbed canvases, enough to fill the display. Each canvas has its own block. Then you have video style buttons - Fwd, Bk, FFwd FBk - and just scroll the blocks across when the user clicks the button.
    Did you enjoy the use of the word "just"? Sounds easy, doesn't it? In practice, what you need is an array that ties the filter criteria to the canvas number. Then you shuffle the canvases by applying the appropriate WHERE clause using SET_BLOCK_PROPERTY and then executing a query.
    The problems with this are obvious and the same as any dynamically generated UI. It will perform badly (each navigation to a canvas will trigger a fresh query, plus there's the overhead of managing the stack). Also it is fragile: there's lots that can go wrong.
    So you need to ask yourself what it is you are hoping to achieve. Can you deliver the same business function some other way? As another poster has pointed out, this is just a glorified master-detail form - the filter criterion being the master. Building this as a classic two block master-detail Form is more straightforward and more robust.
    Regards, APC

  • Shared file missing from My Forms tab

    I shared a form with a co-author, but the form does not appear in their My Forms tab. I've tried removing them and resending the invitation, but still no luck. What could the problem be?

    Hi,
      I am not able to reproduce this problem. If the other person is using the FormsCentral desktop app, please have the other person sign in with his/her AdobeID/password (Click on "Sign In" at the upper right corner of the app)
    Please write back if you still have problem.
    Thanks,
    Lucia

  • Why does my Numbers app in iPad mini doesn't have any INPUT FORM tab every time I press the " " sign?

    This is my first time using the Numbers App which I thought could organize my research data collection and at the same time speed up the summary and analysis of the data as well. However, I can't start on with it because I'm stuck with how to find the INPUT FORMS tab anywhere else in the screen. The tutorials instructed to tap the "+" button but in my app, after tapping the symbol it only adds new sheet, it doesn't show the "new sheet, new form" selection. I'm really confused and I want to know how to get it right. Please help me if I needed something to correct this

    Hey lilianville!
    I have an article here that seems to explain what you are trying to achieve:
    Numbers for iOS (iPad): Enter data into a table cell
    http://support.apple.com/kb/PH3370
    Specifically, these are the steps that will help you complete your desired goal:
    Note that it seems as if you would have to have a table created in order to enter forms as you desire. Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Forms vs canvases

    I am trying to understand when I would use forms or canvases.I thought that for each screen on an app you would create a form. Instead I have seen apps that use several canvases for one form, each representing a screen. Please help!

    This all depends on what you want the Form to do.
    You may have a single canvas/window within the form which shows all the columns on a table and the user can retireve records from the database and update the columns as he sees fit.
    However, you may want the user to perform a specific task and believe a wizard type approach may be better. In this case you could have several windows/canvases within the form which the user is taken through step by step until the action has been finished.
    You need to look at the functionality required and the solution which you believe would best fit this.
    John

  • COMPLETLY FORM TAB MISSING

    Hi Expertes,
    What is Completley Form Tab missing in portal.What is form tab.
    Thanks
    nimmagadda

    Chakri,
    can you explain the scenario in detail
    Thanks
    Bala Duvvuri

  • Execute query for oracle forms tab pages

    Hi Guru's,
    Please help me how to work on execute query with forms tab pages. I have created three tabs like A, B & C in one canvas.
    I have three tables and I have created three tabs in one canvas. And there is no master detail relationship with these three tables.
    I have written the code in form level - when-new-form-instance like do_key('execute_query') but when i see at run time its executing for first tab A not for tab B or tab c.
    How to get the data or execute the data in tab B and tab C.
    Thanks
    RS

    1- create a block blk_1 add items item_1,Item_2 and Item_3.
    2- create main canvas main_canvas. type Content.
    3- create tabcanvas TABCANVAS . Type Tab
    4- Create tabpages tb_1,tb_2 and tb_3.under tabcanvas
    5- create stack1,stack2 and stack3.type stack.
    6- put Item_1,Item_2 and Item_3 under stack1,stack2 and stack3.
    add when tabpage change trigger.
    Declare
    V_TapPage_Name VarChar2(100);
    Begin
    Show_View('TABCANVAS');
    V_TapPage_Name := Get_Canvas_Property('TABCANVAS',TOPMOST_TAB_PAGE);
    If V_TapPage_Name = 'TP_1' Then
    Go_Item('Blk_1.ITEM_1');
    Show_View('STACK1');
    Hide_View('STACK2');
    Hide_View('STACK3');
    ElsIf V_TapPage_Name = 'TP_2' Then
         Go_Item('Blk_1.ITEM_2');
         Show_View('STACK2');
    Hide_View('STACK1');
    Hide_View('STACK3');
    ElsIf V_TapPage_Name = 'TP_3' Then          
         Go_Item('Blk_1.ITEM_3');
         Show_View('STACK3');
    Hide_View('STACK1');
    Hide_View('STACK2');
    End If;
    End;
    Edited by: kingadmin on 20/04/2011 02:15 ص
    Edited by: kingadmin on 20/04/2011 02:16 ص

  • Why are my form tabs changing order?

    I am manually setting form fill tabs in a multi-page document and each time I set a page and save, one of the previous pages reverts to the default order. Any idea why this is happening or how to prevent it?

    I haven't had a chance to finalize it, but I posted the of draft below. I much prefer Acrobat over LiveCycle Designer for forms that don't need to be dynamic, which is probably more than 90% of the forms I work with.
    With the release of Acrobat 11, Adobe introduced a number of keyboard accelerators that are available only in form editing mode. Since many are not included in Acrobat documentation, I decided to list them here. To enable keyboard accelerators, select the following user preference: Edit [Acrobat] > Preferences > General > Use single-key accelerators to access tools
    Function 
    Accelerator Key(s)
    Mouse Equivalent
    Toggle Form Editing mode
    A
    Tools > Forms > Edit
    Close Form Editing button
    Toggle between editing & previewing form
    P
    Preview/Edit button
    Highlight fields
    Shift + L
    Forms > Tasks > Other Tasks > Highlight Existing Fields
    Document JavaScripts
    Shift + D
    Forms > Tasks > Other Tasks > Document JavaScripts
    Tools > JavaScript > Document JavaScripts
    Toggle guides On/Off
    G
    right [ctl]-click Ruler > Show/Hide Guides
    Show Tab Numbers
    Shift + N
    Forms > Tab Order > Show Tab Numbers
    Align Left
    L
    right [ctl]-click > Align, Distribute or Center > Align Left
    Align Right
    R
    right [ctl]-click > Align, Distribute or Center > Align Right
    Align Top
    T
    right [ctl]-click > Align, Distribute or Center > Align Top
    Align Bottom
    B
    right [ctl]-click > Align, Distribute or Center > Align Bottom
    Align Vertically
    V
    right [ctl]-click > Align, Distribute or Center > Align Vertically
    Align Horizontally
    H
    right [ctl]-click > Align, Distribute or Center > Align Horizontally
    Center Vertically
    Shift + V
    right [ctl]-click > Align, Distribute or Center > Center Vertically
    Center Horizontally
    Shift + H
    right [ctl]-click > Align, Distribute or Center > Center Horizontally
    Field tool (current)
    F
    Select the field tool
    Forms > Tasks > Add New Field > [select tool]
    Cycle through the field tools (excluding button tool)
    Shift + F
    Paste In Place
    Shift + Edit > Paste

  • How add Custom Collection Form Tab in Table properties

    Hi,
    Request :
    We would like to add a new tab on the table properties of a physical model.
    Example
    Explanation :
    If we have a table with the following form: CREATE TABLE_1 (COL1 CHAR (10), COL2 NUMBER (6) COL3 VARCHAR2 (20));
    We would like that the new tab to be similar to the one above.
    This tab should have for each vertical column - the table columns names.
    This tab should be displayed only if the table has a stereotype "LOV" for "List Of Values"
    For each row in the screen above we will write the values ​​of each table records.
    Objective :
    When we Generate Database the following SQL command must be generated : INSERT INTO TABLE_1 (COL1, COL2, COL3) VALUES ('', '', '');
    We thought to add this command in the .XDB file (DBMS definition file) at table-level category => DBMS :: Script \ Objects \ Table \ Create
    and using variables %TABLE% and %TABLDEFN%. But the TABLDEFN variable provides column names and types, "COL1 CHAR (10), COL2 NUMBER (6) COL3 VARCHAR2 (20)." Given that this variable is not very interesting we have achieve our goal with an extension (XEM). In fact we are able to generate an extension that will give us the following SQL command: insert into TABLE_1 (COL1, COL2, COL3) values ​​('', '', ''); following the creation of the CREATE TABLE statement.
    To complete with value we have need our custom form tab.

    Hi Benoit,
    To get a tab with a list, you need object to fill it. In your case, you need to define (in your xem or xdb) a new extended sub-object SAM (stereotype as metaclass) with several attributes (one per column COL1, COL2, ...) -- It could be dynamically defined but you may enter the dark side of xem enhancement -- let's start with the three extended attributes.
    With the new SAM, you can create an extended composition on your table, targeting the new SAM. In the composition definition, set the columns you want to display (COL1, COL2, COL3 + whatever you want)
    => You then will have your new tab with COL1, COL2 and COL3 columns
    Once done, you can enter values within your tab.
    How to add it in the generation ?
    In the XEM, create the statement in a template ("filldatatable") under Table metaclass that iterate on composition and use
    <<
    .set_value(TablCode, "%Code%")
    .set_value(ColnList, "")
    .foreach_item(Columns)
    .set_value(ColnList, "[%ColnList%?%ColnList%, :%ColnList%]%Code%")
    .next("")
    .foreach_item(DataValues)
    insert into %TablCode% (%ColnList%) values(%insertdata%)
    .next(";\n")
    >>
    -- This assume your table has three columns !!! (you can enhance it to fit your needs)
    The %insertdata% is a template from your extended sub-object filled with
    <<
    %.q:COL1%, %.q:COL2%, %.q:COL3%
    >>
    In order to include it in your sql-generation  you have to instruct PowerDesigner to do so. You use the AfterCreate item that would add some sql after the generation:
    (.// is a comment)
    <<
    .// Because the scope is limited to active XDB, we need to instantiate a vbscript to reach the xem definitions.
    .// If the extension is embedded into current xem, a simple call to template would have been enough.
    .vbscript()
    ScriptResult = ActiveSelection.Item(0).EvaluateTextFor("%filldatatable%", "FillDataTable")
    .endvbscript()
    >>
    At the end, you then have this in data
    And this in preview
    I attached the xem I made for example (change .txt to .xem)
    Marc

Maybe you are looking for

  • Exchange 2010 - Mail Database Recovery after Database Portability Applied

    Background: We had a city-wide power failure  at Office A and as a result Exchange Server A (ES-A) was taken offline for an extended period of time.  The last good backup of ES-A-DB was from the previous business day.  The DR plan was enacted and the

  • Ovi store payment

    how do register your laser card to pay for apps?

  • Costing variant in OKKN

    We are implementing SAP best practices. While maintaining costing variant in OKKN I didn't find three fields which need to be entered. These are org level, cost element indicator and currency indicator. But when I checked in SE16 for table V_CK03 the

  • System preferences i cant change my photo, the ball keeps turning

    Hi, when i go to my system preferences to change my sheensaver, the ball start to turn and turn. I have shut down the computer, and restarted, still can't get anything working. Please help me.

  • Problems with 2.0 iPhone Software Upgrade

    I'm out of the country in Canada on business and when syncing my iPhone last night was offered an upgrade to 2.0 software. Right now, it did not go successfully and I have a lobotomized iPhone. I followed the normal steps of the upgrade and the softw