Cursor in tab page

If I press one button, I can go to tab pages in other windows.
If system.mode is query, I don't want to put cursor in any fields in tab pages and the cursor should be in the tab page lable.
Can that be done?
Thanks

What is :system.trigger_name?
I don't see it in the help for 6i or 10g and won't compile either. What version of forms is this available??
--pat                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Activate Tab page and set cursor on field!

    Hi All,
    I have a requirement to mimic SAP standard functionality like whenever a mandatory field is not enetered in a transaction, the control activates particular tab page and set the cursor on mandatory field.
    My requirement is as below.
    There is a main screen 1 with many tab pages.
    But when I click on save button, the control goes to different screen. When a partular field is not enetered, then I should put my control to a particular tab page and cursor on that initial field.
    Please help me to get this done. Al I think is SET SCREEN but not sure how I can eneable the control to a particular tab page and cursor on a field from the different screen.
    Many thanks.
    -Pratyusha
    Edited by: pratyushasdn on Jun 24, 2010 2:07 PM

    Hi chandrasekhar find my code below
    this code i am writing under  at selection-screen.
    *&      Form  Z_VALIDATE_TVKOV
    FORM z_validate_tvkov .
      DATA: i_vtweg LIKE vbak-vtweg.
      IF NOT s_vtweg-low IS INITIAL.
        SELECT SINGLE vtweg FROM tvkov INTO i_vtweg
                     WHERE vtweg = s_vtweg-low.
        IF sy-subrc <> 0.
        set cursor FIELD 'S_VTWEG-LOW'.
        MESSAGE e000(z_sd) WITH text-052.
        ENDIF.
       ENDIF.
      IF NOT s_vtweg-high IS INITIAL.
        SELECT SINGLE vtweg FROM tvkov INTO i_vtweg
                            WHERE vtweg = s_vtweg-high.
        IF sy-subrc <> 0.
          MESSAGE e000(z_sd) WITH text-052.
        ENDIF.
      ENDIF.
    ENDFORM.                    " Z_VALIDATE_TVKOV

  • 11g Forms Tab-Page Navigation

    I am using Forms 11g on Solaris.
    A main navigator form opens another form which has a content canvas, tab-page canvas and (3) stacked canvases.
    The problem I am having is with tab-page navigation.     CTRL+TAB ( next ) and CTRL+SHIFT+TAB ( previous )
    As long as I do not initiate navigation from an item on a stacked canvas, navigation is as expected ( between tab pages only ).
    However, navigating from an item within a stacked canvas causes navigation to the parent form.
    Repeating the tab navigation keys from the parent form returns to the called form.
    Note that both key-combinations simply toggle back and forth.
    I have found no documentation on tab-page navigation so any help / insight is greatly appreciated !
    Mike

    Hi Soofi !
    Changing block order in the called form does not affect the navigation between tab pages.
    Note in my question that the resulting undesired navigation is to and from the calling form ( which only has one block ).
    Navigation between items and blocks works as expected.
    To reiterate -
         The only navigation that fails is when I attempt to CTRL+TAB or CTRL+SHIFT+TAB to another tab page from within an item on a stacked canvas.
         Attempting this navigation results in moving the cursor focus to the calling form.
         Repeating the attempt from the calling form moves back to the called form.
         None of your methods mention navigation between forms .
    Thanks for your interest.

  • Reference object data update in Location tab page of order

    Hello
    When a  reference object in notification/order is changed, the location and account assignment data is  updated in order location data by standard settings in SAP but any changes to the master data of the existing reference object is not changed in Notification/Order location tab page.
    But there is an option that  when you change the data in the technical object and you need the same to be reflected in order location data for which this order has the reference object, we can use the functionality of clicking the right mouse in object list and so the data will be updated in notification/order.
    Please explain how to carry out this step "of clicking the right mouse in object list and so the data will be updated in notification/order"..
    I have changed the Location data/Account assignment data of techincal object in its master data and now i want that to reflect in Work order.
    How to achieve this??

    Hi,
    Keep the cursor in Equipment field & right click the mouse. You can find the option Update Reference Object Data.
    Select that option, you will get updated details in the Notification / order.
    Regards,
    Maheswaran.

  • Canvas with tab page

    i have a content canvas(blockA) with 2 tab pages(tab1 and tab2) on it. each tab has its own block (blockB and blockC, but they are not master-detail, they are populated by cursor). on the content canvas, i have a column such as DEPT. when i key up or key down the dept column,how can i re-populate all items on tab2? I wrote a 'when tag change'trigger. but when i am current on tab2, and i key up/down to change the deptno, how can i refresh the data on tab2 which are associated by deptno?
    thanks

    Key-Up & Key-down triggers did not fire??

  • Tab Pages don't do it

    I have a very easy form designed with Forms 6i.
    A tab canvas with two pages. Each page has a block.
    Running this as a C/S-form in Win XP is ok.
    Running this as a Webforms-form in a browser is ok.
    Running under Windows NT 4 isn't possible, because I cannot navigate to the second page. The cursor jumps back to the first page every time I click on the second page.
    Who knows this problem?

    USe the When-tab-page-changed trigger to navigate to the block on the second tab. Focus is popping back to the first tab at the moment because that's where the cursor physically is and forms always makes the canvas that contains the cursor visible.

  • Tab pages in forms v6i

    I compile forms using v6i. The forms are made with v6 and they have 2 TAB PAGES with the same block and first page is visible but the second page is not navigable with mouse.
    Why doesn't work ? These forms v6 are correct.
    Thank you.

    When you click on a tab, if the cursor is in an item on the first tab page, the second won't come up. You have to move the cursor when the tab page is activated. (I'm not sure, but I have patch 13 installed, and this does not seem to be a problem any more. However my associates with an older version do have your problem.)
    I use a when-tab-page-changed form-level trigger:
    -- 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 = 'TAB2' then
          Go_item('B3.NAME');
        else -- TAB1 tab page
          Go_item('B1.KEY_NAME');
        end if;
      end if;
    End;

  • Tab pages on Oracle forms 9.0.4..

    Hi,
    I have a form consist of several tab pages. I do not user to select another tab page without saving the currnent one where they are on. If the user already clicked on another tab, the one clicked tab changes colour. I can force the cursor to go back to the block where they were before, but the prevously clicked tab does not change to the original colour. How do I change the clicked tab back to the unselected tab colour.( if user want to go the tab page even after saving they have to click another tab page in order to go the prevously selected tab page) I would appreciate if any one knows the answer and giving me the details.
    Thanks
    Luksh

    Use
    set_canvas_property('Your_Tab_Canvas', TOPMOST_TAB_PAGE, 'Your_Tab_Page');
    to select a tab and make it the current tab.

  • Tab page navigation

    Hello,
    I am using Jdeveloper Studio Edition Version 11.1.1.1.0
    I want to navigate between tab pages. In my form there are three tab pages. From the first tab page i want to go to other tab pages conditionally.
    If user enters 2 into a text field and click on a button then cursor will go the 2nd tab page. If user enters 3 into a text field and click on a button then cursor will go the third tab page. Please help me.
    Thanks

    Hi,
    tab pages have a a disclosed attribute in their showDetailItem component
    http://adfui.us.oracle.com/projects/adf.faces/multiproject/adf-richclient-api/tagdoc/af_showDetailItem.html
    If you use EL to reference a managed bean and then return true/false dependent on what the user typed into the field, then after partially refreshing the panelTab component, you should see the switch in the component tab
    Frank

  • Failure of Key-NxtBlk Trigger in Tab Pages

    Say, I have 3 blocks, b1, b2 and b3, wherein block b1 and b3 are in a "tab-paged canvas" and block b2 is in a different canvas.
    When the control is in the tab-canvas (say in block b1). Upon pressing the Key_NxtBlk, CTRL goes to the third block rather than block b2 (since b1 and b3 are in the same tab page).
    Also, as the navigation is not as per the block sequence, the Key-Nxtblk trigger is also not firing.
    What should I do to make the procedures written within Key-NxtBlk to fire from the tab-canvas and at the same time, make the system navigate as per block sequence.
    Anticipating an Early Solution
    Thanking you in advance
    Ramnath Balasubramanian

    Dear Bogdan Dincescu,
    I cannot set the block navigation style as "Next Block" as every block in within my tab canvas are multi-record blocks with the navigation style as "Change Record". Can you suggest a different solution.
    Regards
    Ramnath Balasubramanian
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Bogdan Dincescu ([email protected]):
    What if you set the block navigation style "Next block"? Then, normally, when pressing TAB/ENTER on the last item of the block, the cursor would move to the next block.
    Then, a key-nxt-blk trigger, set at block level, should help.<HR></BLOCKQUOTE>
    null

  • Stopping tab page change

    Dear members,
    I would like to prevent a user from moving to another tab page under some circumstances.
    Presently, I use "SET_CANVAS_PROPERTY(v_canvas, TOPMOST_TAB_PAGE, :System.Tab_Previous_Page)" to go back to the previous tab page.
    However, I'd prefer to stop the action before the change is done.
    Any idea ?

    Don't know if this helps but... You cannot change tab pages if your cursor focus is within an item that is contained on the current tab page.
    So maybe if the cursor was not allowed off that particular tab page until your conditions were met, that would prevent switching tabs.

  • Two tab pages

    I have two tab canvas canvas_tab and canvas_mod with two tab pages .
    At when-tab-page-changed trigger code is
    DECLARE
         tp_nm VARCHAR2(30);
         tp_id TAB_PAGE;
         tp_lb VARCHAR2(30);
    BEGIN
         tp_nm := GET_CANVAS_PROPERTY('canvas_tab', topmost_tab_page);
         tp_id := FIND_TAB_PAGE(tp_nm);
         tp_lb := GET_TAB_PAGE_PROPERTY(tp_id, label);
         IF tp_lb LIKE 'VIEW' THEN
              go_item('BLOCK2.mem_cd');
         elsif tp_lb like '%MEMBER VIEW%' then
              go_item('mem_query.lib_memship_no');
         ELSE
              null;
         END IF;
         tp_nm := GET_CANVAS_PROPERTY('canvas_mod', topmost_tab_page);
         tp_id := FIND_TAB_PAGE(tp_nm);
         tp_lb := GET_TAB_PAGE_PROPERTY(tp_id, label);
    if tp_lb like 'Modify' then
              go_item('block5.mem_cd');
         elsif tp_lb like 'Semister Change' then
              go_item('block4.course_id');
    else
    null;
    end if;
    END;
    How to navigate to particular tab canvas before navigating to particular page?

    hi anil,
    How to navigate to particular tab canvas before navigating to particular page?
    can you explain the propblem properly.
    you can simply go to any canvas by sending the cursor to any item on that canvas.
    regards
    SIS

  • How to retreive multiple rows on a tabbed page

    Dear Gurus,
    I am new to Forms Programming. I have 4 tab pages on the canvas. On one of the tab page I am trying to retrieve multiple rows from the database. I want that the data should be automatically displayed as user changes to that tab page.
    The problem which I think is that the cursor is not moving from the first tab page to the new tab page. When I am trying to use go_item, it is not allowing me to change the tab page as all the items on this tab page is display item. Even go_block is not working. I am writing both the functions on When_Tab_Page_Changed trigger.
    Please Help!!!!!!!!

    Hi
    Try this one. Check the logic. I didn't have much time to program. With this draft you can begin to do what you need.
    Bye, Aron
    create or replace package testpkg is
            type TYPE_TESTNAMES IS TABLE OF testnames%rowtype index by binary_integer;
            procedure getByStatus(countToReturn in NUMBER,status in NUMBER,newStatus in NUMBER, records in out TYPE_TESTNAMES);
    end testpkg;
    create or replace package body testpkg IS
    procedure getByStatus(countToReturn in NUMBER,status in NUMBER,newStatus in NUMBER, records in out TYPE_TESTNAMES)
    is
            selectedIds MESSAGE_ID_TABLE;
            cursor select_messages_by_status (currentStatus NUMBER) is
                        select id
                     from testnames
                     where status= currentStatus
                     for update;
            cursor t (currentStatus NUMBER) is
                        select *
                     from testnames
                     where status= currentStatus
                     for update;
            r testnames%rowtype;
            i int := 0;
    begin
          open select_messages_by_status(status);
          fetch select_messages_by_status bulk collect into selectedIds limit countToReturn;
          for selectedId in selectedIds.first..selectedIds.last loop
                update testnames set status = newStatus where id = selectedId;
          end loop;
          open t(status);
          loop
                fetch t into r;
                exit when t%notfound;
               records(i) := r;
               i := i + 1;
          end loop;
    end getByStatus;
    end testpkg;
    -- Test program
    declare
    r testpkg.TYPE_TESTNAMES;
    begin
    testpkg.getByStatus(2, 0, 3, r);
    dbms_output.put_line(r(1).id);
    end;

  • Tab page navigating

    Hi!
    I have a canvas wich consist of four tab pages. Each tab page has a datablock. When the user clicks a tab, the cursor should be set in the datablock of the tab page. Any suggestions how to implement this?
    My problem is that I have not found a function that returns the active(the one that is visible to the user) tab page.
    Regards,
    Morten

    I think that you can use When-Tab-Page-Changed trigger on form level. In this trigger you can test :SYSTEM.TAB_NEW_PAGE variable.
    IF :SYSTEM.TAB_NEW_PAGE = ... THEN
    GO_BLOCK(...);
    END IF;

  • Tab Page Issues

    Hai All,
    In my form i have currently 4 tab pages the records displayed as mullti records block. I need to display item values from one tab page to another tab page. Say for example i have two columns in 3rd tab page( one is text time and other is display item). I want to display all the two items in 4th tab page as display items showing all item values from previous tab page.
    What exactly happens now to me is that if i keep my cursor at first record in 3rd tab page it shows only one record in 4th tab page.Instead it has to show me all records from 3rd tab page to 4th Tab page. I have enabled copy value from item in the property pallete for respective items..
    Urgent Help is required
    Bal

    If the contents of the tab pages are all in the same block then use "Synchronize with Item"
    Copy Value is intended for Cross Block copying and only relates to the current record, which is why you only see one of them.

Maybe you are looking for

  • .dmg files no longer open in the finder

    I just did an archive and reinstall (to solve some unrelated problems). Most things seem fine, but now .dmg files show up on the desktop without any icon, and when I double click them they open Disk Utility instead of mounting in the finder. It's pos

  • Issue with control cycle

    Hello all, Can somebody please tell me how to find who created a particular control cycle? Is there a way to find the id of the person who created/modified a control cycle? If yes, please tell me. Thanks and Regards, Umakanth.

  • HT1218 my airport connection desapear on my mac ox x 10.6.8 an it wont start

    Im trying to Conect my Wi-Fi Airportbut I have lost the Connection. I have open my Utilities folder and click twice on the Airport Icon but nothing is happening?? Please can anyone help me? cheers Rod

  • Skype Out and Yahoo Voice

    I have my Mac Pro and a Windows PC connected to my network thru an airport extreme in bridge mode. The main router is a Linksys. I can't seem to get my Skype Out or Yahoo Voice (the one that lets you call to real phone numbers in cheap rates). When I

  • How can I alphabetize the bookmarks in my Safari bookmarks toolbar?

    How can I alphabetize the bookmarks in my Safari bookmarks toolbar?