Lose of focus (mouse click/enter key)

Hello,
we have a problem customers are complaining about for quite a while now, but despite our efforts, we can not fix it or at least determine with certainty the problem cause.
We have an application launching forms apps, and from time-to-time we completely lose the focus on this form (generally after typing ENTER in a filter), I mean by focus, we cannot click anymore (cursor seems to stay on a object), we cannot press enter anymore (we get a 'Not defined key function') and so on...
I heard somewhere that it could be due to 'KEY-OTHERS' trigger not handling correctly the ENTER-KEY. But I need this trigger for my filters, or is there another way? KEY_ENTER does only navigate from field to another.
I found something which was able to remove focus lost (kind of a hack while trying to fix this on an on), but the problem is I had to remove this, because it blocks the opening of new windows or popups. It was a mouse-click trigger on forms triggers level:
Go_Record(:System.Mouse_record);
Go_Item(:System.Mouse_Item);
But this blocks any window opening, and it also blocks some other tools we have developed.
Thanks,
Best regards,
G.
EDIT: Forms 11g, and I am pretty sure we had not that much problems with 10g
EDIT2: I read the same kind of topics in the forum, but no patch seems to help
AND we use JRE 1.7....
Edited by: lakers on Jan 14, 2013 11:56 PM
Edited by: lakers on Jan 14, 2013 11:59 PM

this problem occurs with some of versions of JRE. Try with JRE JInitiator 1.3.1.22. Also unstalled all others JRE if exists.
A file called fmrpcweb.res has also been provided which gives the Microsoft Windows client/server keyboard mappings. To use this file, rename fmrpcweb.res to fmrweb_orig.res, and copy fmrpcweb.res to fmrweb.res. Alternatively, use the term parameter as described above.
By default, whether deploying client/server or over the Web pressing the ENTER key takes the cursor to the next navigable item in the block. To override this default behavior it is necessary to modify the forms resource file to revise the key mapping details.
Modify fmrweb.res and change the Forms Function Number (FFN) from 27 to 75 for the Return Key. The line should be changed to the following:
10 : 0 : "Return" : 75 : "Return"
By default, the line is displayed with an FFN of 27 and looks as follows:
10 : 0 : "Return" : 27 : "Return"
This line should NOT fire the Key-Enter trigger since the Return or Enter key is actually returning the Return function represented by the FFN of 27. The FFN of 75 represents the Enter function and fires the Key-Enter trigger.
http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/configure.htm#i1077054
please mark correct/helpful if problem is solved..
Edited by: Askdineshsinghminhas on Jan 15, 2013 5:28 AM

Similar Messages

  • Restrict clicking enter key in the bdc program

    Hi all,
             There is one BDC program for Vendor Master creation. In the output it is waiting for the enter key for each vendor creation. Suppose we have 1000 vendors to be created. Then we need to click enter key 1000 times.
    Anybody please suggest me whether can I change the BDC code to stop entering the Enter Button each time a vendor is created.
    Thanks and Regards,
    Murali Krishna T

    Hi Raghava,
                        Thanks for your prompt reply. There are no information messages inside the loop.
    This is the code block inside the loop.
      Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
    Edited by: Rob Burbank on Apr 23, 2010 10:26 AM

  • Focus navigation with enter key between controls

    hi,
    i've an app and i wanna change control focuses one to other one with pressing enter key..i think keyFocusChange property solve my prob but i couldnt fix it..
    text input
    button
    helppp pls.
    thnx

    thnx krafttimd for help..
    i solved it with an easily way..i used textInput s enter event and generate a handler.
    <s:TextInput id="kod" enter="kod_enterHandler(event)" />
    <s:TextInput id="sifre" enter="sifre_enterHandler(event)" /> 
    <mx:Button id="giris"  keyDown="giris_keyDownHandler(event)" click="checkLogin()"/>
     protected function kod_enterHandler(event:FlexEvent):void{
    sifre.setFocus();
     protected function sifre_enterHandler(event:FlexEvent):void{
    giris.setFocus();
    protected function giris_keyDownHandler(event:KeyboardEvent):void{
    if(event.keyCode == Keyboard.ENTER) checkLogin();}

  • Base line date disappearing in MIRO  on saving or click enter key

    Hi ,
    We have ECC 6.0 and the issue is while creating Invoice- MIRO transaction, after entering 'Base line date' value in payment tab and press save or enter key the value is disappearing. I have checked all the Exits for MIRO ,we do not have any custom code added to it and BADI MRM_Payment_terms also do not have any implementation.
    Regards,
    khaderhussain.

    Please check if the vendor has been created in FI and MM in the same way.
    Or the payment terms have different condition in these two areas.
    Thanks

  • Lose control of mouse clicker and keyboard

    When I boot up and the desktop appears everything works fine for the first 5-10 seconds, then I find I cannot use mouse clicker or keyboard. Can still move curser, however. Does anyone have any suggestions? Thanks

    Welcome to the Apple forums.
    If you could post what Mac OS you are running, how much memory you have, what Hard drive you are using, that would help folks respond to your query.

  • Firefox Loses Window Focus, Mouse Button profiles change to default

    I have a G700 mouse, which supports various hotkey profiles. For default profile, i have most buttons disabled. For games, i have game-specific hotkeys, and for firefox, i have firefox specific hotkeys (new tab, close tab, etc).
    There are 2 times that I notice this behavior:
    1) During regular browsing, clicking on various links causes firefox to lose focus, and the mouse software reverts from the "firefox" profile to the "default" profile. Interacting with firefox in any way does not fix this problem. the only way for firefox to become the default profile again is to click a different window or on the desktop, and then click back into firefox. The profile seems to be lost right after clicking a (javascript) link, though the number of links clicked is arbitrary. I cannot reproduce this issue with any fixed results (number of click, time period before losing focus, etc). But I can reproduce this issue reliably.
    When the mouse buttons stop working, the keyboard hotkey shortcuts DONT stop working. I dont have to re-select the firefox window to use keyboard shortcuts, I only have to do that if i want to use the mouse shortcut.
    2) If I am in private browsing mode, clicking links (specifically for websites that contain flash) causes the window which contains flash to move into the background and the non-private window becomes the foreground. Again, the mouse loses focus and the only way to regain focus is to manually click the window or to click away on a non-firefox object, then click the window. I believe this is a flashplayer based issue, though, and is unrelated to the profiles issue. When this happens, any interaction with a flash video also forces firefox's KEYBOARD hotkeys to not work. Ctrl+w and ctrl+t dont do anything, hitting escape does not give firefox control over keyboard hotkeys, and hitting "tab" only selects elements within the flash object. For youtube, it cycles through various clickable controls.
    EDIT: I have tried resetting the firefox profile and using a completely new profile, and i have also tried syncing profiles. This is a persistent problem.

    I'm using Firefox 23. This has been a problem since I got my mouse in September ish of 2012. As I stated, I've worked with logitech on this issue, they have no idea why it happens because only firefox exhibits this behavior. No other app on my computer does this and Firefox reset and clean profile do not do anything to solve the problem. Using logitech logging, I can produce a log and output of whenever the profile switches. I might be able to use logitech scripting to output debug information about what exactly causes it but that would take dev time I don't have.

  • How to make 'Key-Enter' trigger (when clicked on enter key)work like 'F8' key?

    Hi . I have another question to be asked.
    Oracle Forms 6i.
    I have a form in which DEFAULT&SMARTBAR is the menu and there are no push buttons.
    In the form, there is a 'field' named as 'ID No'. After entering 'ID No' in the field and click on 'Execute Query' button from the 'DEFAULT&SMARTBAR' menu, all the details of that respective 'ID No' gets displayed in all the other fields. Even if i press 'F8' all the fields gets displayed with the values.
    But i have a requirement, i.e. after entering 'ID No' and click 'Enter' key , i want all the values to be displayed.
    So i created a 'Key-Enter' trigger with the following code:
    BEGIN
      EXECUTE_QUERY;
    END;
    But after entering 'ID No' and click 'Enter' key, the values are not getting displayed.
    What can i do to make this happen?
    Thank You.

    It depends how your form is created. If your ID item is part of the base table block, you can do this.
    On your ID item, create a KEY-NEXT-ITEM trigger:
    if :system.mode = 'ENTER-QUERY' then
        execute_query;
    else
        next_item;
    end if;
    Now
    - User clicks on enter query (via smart bar icon or F7).
    - User enters ID and clicks <enter> key to execute the query.

  • The "Enter Key"

    After building a form to collect data - the user cannot use
    the keyboard's "Enter Key". Why? Even if the user tabs over the
    "Submit Button" and hits "enter" on the keyboard - nothing happens.
    The user must move the mouse over the "Submit" button and left
    click.
    What code do I have to include to perform this user input?
    Thanks for any ideas.

    The Button is designed to be pressed using the space bar. If
    you want the Submit button pressed whenever a user presses Enter,
    then, set the defaultButton property on your Container that the
    Button is in. Here is the ASDoc on defaultButton:
    defaultButton property
    defaultButton:IFlexDisplayObject [read-write]
    The Button control designated as the default button for the
    container. When controls in the container have focus, pressing the
    Enter key is the same as clicking this Button control.

  • How to activate a button with Enter key?

    Hi
    I was certain that in AC3 this is done by default, when the button is in focus and the ENTER key is press, it dispatches a Click event.. but it doesn´t work, am I missing something?? Thanks for your help.
    myButon.addEventListener("click", funClick);
    function funClick(evtObj:Event):void {
    trace("yes");

    if you have btnNum buttons with names btn1, btn2,... and they each have a listener function f1(), f2(), ...  you can use the following to code for them all and the enter key:
    var btnNum:uint=2;
    for(var i:uint=1;i<=btnNum;i++){
        this["btn"+i].addEventListener("click", this["f"+i]);
        this["btn"+i].addEventListener(MouseEvent.MOUSE_OVER,overF);
        this["btn"+i].addEventListener(MouseEvent.MOUSE_OUT,outF);
    stage.addEventListener(KeyboardEvent.KEY_DOWN,f);
    function overF(e:MouseEvent){
        stage.focus = InteractiveObject(e.currentTarget);
    function outF(e:MouseEvent){
        stage.focus = null;
    function f(evtObj:KeyboardEvent):void {
        if(KeyboardEvent(evtObj).keyCode==13 && stage.focus != null){
            stage.focus.dispatchEvent(new Event("click"));
    // define your f1(), f2() etc functions

  • Suggestion needed: Where to catch the 'Enter' key

    Hi,
    Could someone give me guidance. Below is the background and question of what I would like to do. (Note: There would be so much code I am hoping that someone can understand this without it but I will look later tonight at your possible responses to determine if I need to add some code snippets.)
    BACKGROUND:
    I have an application with a JTabbedPane added to the content pane of the JFrame.
    The JTabbedPane has five JPanels added as tabs each of which extends ActionListener. When it creates each JPanel it passes itself as the argument (this).
    Each of these 'major' JPanel tabs has several (2-4) 'mini' JPanels added to them and all the various JButtons, JComboBoxes, and JTextFields are added to the 'mini' JPanels.
    The JComboBoxes and JTextFields are enclosed in my own separate wrapper classes so I can do some special validation, etc.
    One of the 'mini' JPanels is always named 'buttonPanel' and is where the 'cancel' and 'continue' JButtons are added. The buttons are registered with an ActionListener and allow access to the next 'major' JPanel after some checks are performed. Right now the buttons are caught by the ActionListener of each 'major' JPanel
    I WOULD LIKE TO:
    I would like to have the 'Enter' key perform a 'continue.doClick()' on whatever 'major' JPanel is active (there are many validations to be done on each 'major' panel before the continue button can allow the user access to the next tab). There are from 1-3 other buttons in the same buttonPanel as the 'continue' button so if any of them have the focus then the 'Enter' key action should be handled by them.
    I would like to have the 'Escape' key perform a 'cancel.doClick()' on whatever 'major' JPanel is active. The 'Excape' key does not have to defer to any other button actions like the "Enter" key does.
    Where would I extend the KeyListener? The JTabbedPane has a changeListener method that keeps track of what tab I am on, would this be someplace that could help keep track of what 'major' JPanel continue button should be called?
    Thanks very much.
    hopi

    You can use an InputMap and ActionMap combination to map an action on the JPanel that is currently selected to the Enter key.
    This will allow you to add an ActionListener which is called whenever the enter key is pressed. Then you can cycle through the available buttons and determine which on has focus and call doClick on it. The cycling may require you to place all the buttons in an Array or a Vector.
    ICE

  • Pai module enter key from key board

    hi
    can any one tell me how can i display material description after entering material no in screen  .
    by just clicking enter key from keyboard .
    Regards
    Rakesh singh

    Use a case statement.
    CASE ok_code.
    When Others.
    *********Write code to read material description from table or Internal table ***********
    Pass the description to the field on the screen. To do this define a work area with same name of screen element
    End case.
    Now the value will automatically be populated.

  • 'ENTER' key for Submit Button

    Hi,
    I have 1 inputfield , 1 dropdown and 1 submit button in a page. I want to execute submit button always when you click 'ENTER'.
    Now when i click enter from inputField it process something and in background there is no event triggered.But from dropdownbox nothing happens when i click 'ENTER' key.
    Is there any way to assigne 'ENTER' key to the submit button(<htmlb:button) always?
    Thanks in advance
    AP

    Hi,
      It looks like SubmitOnEnter is not available in my verions of htmlb. I just looked into some javacode,
    I have 2 page, Initial and Report,
    Initial page has the code,
    <script>
    document.onkeydown=function(){
    if(event.keyCode==13){document.forms.initial.submit()}}
    </script>
        <htmlb:form id     = "initial"
                    method = "post"
                    action = "Report.htm" >\
          <htmlb:inputField id            = "TranNumber"
                            type          = "string"
                            value         = "<%= INIT-TranNumber %>" />
          <htmlb:button id      = "SUBMITVALUES"
                        text    = "EXECUTE"
                        onClick = "HandleSubmit" />
    </htmlb:form>
    Report page captures it as,
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
    IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
      DATA: EVENT TYPE REF TO CL_HTMLB_EVENT.
      EVENT = CL_HTMLB_MANAGER=>GET_EVENT( runtime->server->request ).
      IF EVENT IS NOT INITIAL.
        CASE EVENT->ID.
          WHEN 'SUBMITVALUES'.
            DATA: TranNumber TYPE REF TO CL_HTMLB_INPUTFIELD.
             TranNumber ?= CL_HTMLB_MANAGER=>GET_DATA(
                          request = runtime->server->request
                          name    = 'inputField'
                          id      = 'TranNumber').
        ENDCASE.
      ENDIF.
    ENDIF.
    Basically the no event is not fired. so it is not coming into the Case.
    How to handle this?
    Thank you
    AP

  • The Enter Key does not work in the location bar; I have to manually select the "Go To" icon since upgrading to Version 10.

    I just upgraded to Firefox 10. When I manually enter a URL into the location bar, the "Go To" arrow does not have focus, so the Enter Key will not work. I have to manually select the "Go To" arrow to navigate. Any suggestions?

    This could be the AVG safe search extension. If you have that installed, try disabling it. Instructions here: [[Using extensions with Firefox#w_how-to-disable-or-remove-extensions]]

  • Capturing Enter key event from text box

    In my application, there are a number of text boxes. I want to create a feature where an enter key even is seen and specific function executed depending on which text box was in focus when the enter key was pressed. Currently I am able to capture an enter key event on the whole page. How do I do that specifically for a text box?
    This application is done in HTML, javascript and Adobe AIR.
    Thanks
    Binu
    www.verseview.info

    Hi
    That's true that Flex4.5 SDK under Flash builder Burito doesn't listen Enter key in Text Area for KeyUp or KeyDown event.
    Here I found a work around you can use.
    Add an eventlistener to the component in actionscript and set the useCapture=true next to eventlistener function. Now you can listen enter key for KeyUp or KeyDown Event
    Hope this helps
    Rush-me

  • How do you go to marker  when there is a wait for mouse click between the markers?

    I cant seem to get by the wait for mouse click, when using                          go to (marker)
    I have a game that I have 2 push buttons one is
    on mouseUp me
      go to frame 9
    end
    on mouseUp me
       go to frame  29
    end
    There is a wait to click in between these 2  frames and when I click on the  2nd button to go to frame 29  it stops at the wait to click?
    I have tried  all these below and cant get past the click to wait?????
    go
    go to frame
    go to marker
    _movie.go
    _movie.marker
    _nextMarker=

    Think this issue is resolved but to ensure the full answer is available, here it is.
    First, it's a bad idea to use the Tempo channel at all. You can use a script to do anything that you can do there. I have Lingo alternates to the Tempo channel at:
    http://www.deansdirectortutorials.com/Lingo/tempoLingo.htm
    (think I need to update this page though)
    So - DO NOT USE the Tempo Channel setting - Wait for Mouse Click or Key Press.
    The above setting creates a type of pause that interferes with other interactivity.
    Instead - use a 'Hold on Frame' behavior (from the Library Palette - Navigation category) or it could be written as:
    on exitFrame
    go the frame
    end
    Once you have the above behaviour in you desired frame, you can attach a sprite behaviour to your buttons / links. A good one to use is the ‘Jump to Marker Button’ behaviour in the Controls category of the Library Palette. You can attach this behavior to different sprites and just change the marker setting of the behavior, removing the need to have individual hard-coded scripts for each button.
    Next – DO NOT link to frame numbers. Always link to a marker. You may insert or remove frames. This would cause your incorrect links since the frame number would no longer the right point.
    Next – the following all do the same thing:
    go to frame “markername”
    go to “markername”
    go “markername”
    So, you can leave out ‘frame’ or even ‘to’ as they are not needed. I still use ‘go to’ as it feels more natural to me (just history).
    or you could use:
    _movie.go("dean")
    Don’t use
    go to marker “markername”
    I think that did work at some point but not anymore.
    marker can be used as follows:
    go marker (-1)
    Where -1 is the amount of markers back (could be forward as well).
    Well, that gives the detailed answer to your question.
    Dean

Maybe you are looking for

  • SSH & SOLARIS

    I am in vm (puTTy) would like to ssh solaris server how can I do that THANKS TO ALL

  • OSS notes for MB1B in checking Amount and Quantity depending on the mat. #

    Dear All: Where can i download OSS notes in MB1B for  checking the amount and quantity depending on the material number? Thanks, CHOCO

  • Issue with customised reports

    Hi experts, We have certain customised reports eg. Missing time report, Cats approval report In the scenario say If the employee has moved to different Personnel area or position belonging to diff org unit. The employee with Missing time records will

  • Functionality Of Function Modules

    Hi All!    Can any one tell me the functionality of these below mentioned function Modules and what are the parameters that need to be passed to them. 1.WFMC_MESSAGES_SELECT 2.WFMC_MESSAGES_EXTEND 3.WFMC_MESSAGES_PROCESS Thanks and Regards Sourabh

  • Restart your computer by holding the power......

    This morning i was fooling around with a /usr/local file, i accidently deleted it and the computer stopped responding, so i held the power button for a few seconds and the computer turned off. Upon pressing it again, the apple logo appeared, followed