Buttons in tab canvas.

Dear all,
i have a form in which i want to deal with more than 8 tables so, i used a tab canvas, use a tab page for every table. now i want to put the save, delete, and update buttons on the form.
where to put these buttons on the every page separately or there is any way to put these buttons on the content canvas and when i push it the current tab page's table (block) is effected.
how to achive this functionality?
thanks
Muhammad Nadeem
Oracle Programmer
CHIMERA pvt. ltd.
Lahore
0301-8334434

dear thanks
you are right but i have some others procedures which are specific to the block. so i want when i am in the page A and press the save button. it save the changes in the current block and go to a block which is also on that page A and refresh it.
on all the pages the table is repeated so one block is for data entry and the another is for viewing only.
i have the following code on save button
go_block('gl_users');
commit_form;
go_block('gl_users1');
execute_query;
so when i want to save the changes on the page B this code will also go to the gl_user block and so on.
thanks
Muhammad Nadeem
Oracle Programmer
CHIMERA PVT. LTD
Lahore
0301-8334434

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?

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

  • 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

  • How to change the number of  tab in a Tab Canvas?

    hello :)
    any answers please ?

    user9068133 - Posted: Nov 3, 2010 2:42 PM yes , it works very well on forms 10g, i know that is not a big problem but what can i do ! i have searched on google how to do that but i didn't find nothing .>
    What exactly did you search for on Google? What is "that"?
    Are you trying to add more tab pages to a Tabbed Canvas from the Forms Builder? If so, user13390506 is sort of right. Click on the "Canvases" node of the Object Navigator press the *<font color="green">green + </font>* button to add a new "Content" canvas to your form. Now you need to open the property pallet of the new canvas and change the "Canvas Type" property to "Tab." You will notice that the icon of the new canvas you created in the Object Navigator has changed. Click on the + node next to your new "Tab" canvas to reveal the "Tab Pages" node. Again, open this node (by clicking on the +) to reveal the individual tab pages. By default, Forms will create two tab pages. You can add a tab page in the "Tab Pages" node by clicking on the node and then clicking on the + button. To remove a tab page from the "Tab Pages" node, click on the tab page you want to remove and then click on the *<font color="red">red -</font>* (minus) button.
    If you are trying to add a new tab page during the Form runtime - as I mentioned before - this is not possible.
    Also, what is your Forms version?
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Need to disable tabbed canvas through personalization in standard form.

    Dear Friends,
    I need to disable one of the tabbed canvas (button), based on condition from another tabbed canvas..in oracle applications 11i
    This is urgent requirment from 3 days im trying but im unable to do this...
    could you please solve me from this problem...
    Example (Original Requirement):_
    In order Management, in shipping transactions, we are having lines and delivery tabs..etc
    in that, if delivery name is not null in lines tab, then we need to disable delivary tab.....this is the actual requirement.....
    Many thanks in advance,
    Regards,
    subash

    Write a personalization that disables all fields on the delivery tab.
    It should be similar to what you are looking for.
    Sandeep Gandhi

  • How to embed an applet on a tab canvas of a form

    Hi, I am using JDeveloper 10.1.2.3 and 10 g DB. I have a requirement where I have to allow users to digitally sign or authorize an application in oracle forms. We use Topaz systems to sign all our documents in java. Now users want this facility in their oracle forms applications as well. I have written a bean that allows users to sign. I called this java bean from forms on click of a button and an applet pops up where in user sign and on clicking save button the signature is sent back to the form. However, what i was hoping for was to have this applet embedded within a tabbed canvas of the form, so that it appears that the user is signing on the form. This will also be useful when I have to load the signature back to the form. I don't think a separate hanging applet will look good.
    Can anyone help me please.

    as you already have a bean, try to show the frame of the java-applet inside the bean-area. Maybe there is also a class in your java-program yo can call directly without having to work with the apllet itself. it would also be helpful if you could post the code for your java-bean.

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

  • TAB CANVAS PROBLEM

    hiiii
    in one of the tabs in a TAB CANVAS ... am trying to insert some fields into a table .. a simple insert statement ... BUT in each time i got in the message bar(UNABLE TO INSERT RECORD)
    and when i disply the error i got (ORA-00001: unique constraint (DIZZYLAND.ADMINS_PK) violated) ... the strange thing is that
    am not trying to insert in this table (ADMINS) ...
    AND the alert() appears ???!!!!!
    here is the procedure that is called in WHEN_BUTTON_PRESSED trigger
    PROCEDURE SEND_EMP_STD_COMM IS
    std_f_name varchar2(50);
    std_l_name varchar2(50);
    std_id NUMBER(4,0);
    ALERT_ID number;
    BEGIN
    select SID,F_NAME,LAST_NAME into std_id,std_f_name,std_l_name from student where user_name= :TEXT_ITEM777;
         insert into STUDENT_COMMENTS(
         SID,
         SENDER,
         SENT_DATE,
         COMMENT_TEXT,
         USER_TYPE
         values(
         3,
         :ADMIN_COMMENTS_BLOCK2.TEXT_ITEM776,
         TO_DATE(sysdate, 'DD-MON-YYYY HH24:MI:SS'),
         :ADMIN_COMMENTS_BLOCK2.TEXT_ITEM778,
         'A'
         commit;
         set_alert_property('CONFIRMATION_ALERT',alert_message_text,'Comment Has Been Sent Successfully To '||std_f_name||' '||std_f_name);
         alert_id:=SHOW_ALERT('CONFIRMATION_ALERT');
    END;
    *******************************************************************************************

    Consider the usage of the commit statement.
    It is possible that you are displaying the data in a form which is in insert mode.
    When you issue commit, the program may be trying to insert the data twice. Once at the form level and again at sql level. You can determine this using debug with a breakpoint set at the button press.
    My personal preference is to used forms_ddl( 'commit' ) to commit sql code and commit_form for forms. Generally, I avoid mixing the two when possible, for the reasons you describe.

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

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

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

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

Maybe you are looking for

  • IPhone 5s as an ipod?

    I have an extra iPhone 5s that doesn't have phone service. Can I use this on wifi to get imessages? And use for apps and music?

  • I can't make a phone call from my iPad. But, I can receive phone calls. What am I doing wrong?i can reci

    I am able to receive phone calls on my iPad air 2. But, I can not make any phone calls. I am using an iPhone 6. I have set up both as required. What am I overlooking?

  • ITunes 10 and iOS 4.2: NO CHOICE???

    Really? Must I upgrade to iTunes 10 to use iOS 4.2? iTunes 10 is loathsome. It won't be possible to sync my iPad with iTunes 9.2.1 and upgrade to iOS 4.2? Am I really being given a choice between iTunes 9.2.1 and iOS 4.2?

  • Does the JVM ever return memory back to the OS?

    Hello Gurus, I have an OC4J application running on Solaris that have some memory spikes (the jvm is inovked with -xms256m -xmx1024m). I've noted that once the heap expands, even if it shrinks back, the jvm process keeps on using the bigger memory foo

  • Master data infopackage error

    Hi Experts, i have one process chian in production system and it's a MD delta load Infopackage,it was running since 15 hours and failed. i want to load data to this infopackage and there are 6 metachains under this failed infopackage metachain. can y