Double-click on text in dialog programming

Hi,
I have a screen on which I have created a TEXT button and I want to respond it to double click event.
I have selected the attribute 'Respond to Double click' and in the GUI status under F2 put the code 'PICK' and changed in the PAI logic of the program to process certain steps if 'ok-code = 'PICK'.
and it is working fine, when I double click the text button, the ok_code is 'PICK' and the req. steps are carried out. But the problem is, when I single click on the text button also, ok_code is becoming 'PICK' and the same steps are carried out. I want the text button to respond only to double click event not single click.
Pls. let me know how do I achieve it.
Thanks in advance,
Vishnu priya

Hi Priya,
To best of  my knowledge it is not responding to double click, it it responding to your first click only, then you continue clicking the second time by that time the control goes back to application server withinn which time no user actions are accepted until the control passes back to the presentaion server.
that is why we can not distinguish between single and double click.
try double clicking on SE38 DISPALY or CHANGE Buttons they also respond and it will not give you a message saying DON'T DOUBLE CLICK ME etc.
this is to best of my knowledge.
regards
Ramchander Rao.k

Similar Messages

  • HT1578 I've done all of this and it won't open. I double click on it, the default program to open it is diskimagemounter and nothing happens when I double click. Any ideas? (Mac OS X Lion 10.7.4)

    I've done all of this and it won't open. I double click on it, the default program to open it is diskimagemounter and nothing happens when I double click. Any ideas? (Mac OS X Lion 10.7.4)

    I would like to create a file that stores my documents and has a password on it so that if I lend my laptop to someone, they can't access my documents. I went into utilities and followed his instructions to do that. I created it on my desktop and its a .dmg extension

  • Double Clicking a Text Field and there is data in it

    Hello,
    When I double click in a text field there is data (my name) there that the form remembers from a previous use. I am ready to publish and distribute my form but I don't want the old data to be there. How do I delete it?
    Thank you.

    You may have the auto-complete option on in Acrobat. In Acrobat, click "preferences..." under the Edit menu. Choose "forms" from the category list and check out the auto-complete settings.

  • Firefox copy feature always adds extra space before or after when double clicking to select text

    I have only just started using Firefox but I've noticed a strange "feature" (I'm not sure if it's a feature or a bug, thus the quotes). I'm used to Opera and IE where by when I double click some text the text will be automatically selected. Firefox does something like this but for some reason I don't yet understand it adds an extra space at the beginning or end of the selection. This is a problem for someone like me who for work does a lot of copy and paste. I use web software that is intolerant of extra spaces and this feature/bug is going to end up causing some major issues.
    Is there a way to alter this behavior so that it behaves more like all my other computer programs? Your help is greatly appreciated.

    Not sure if this will help with your issue, but can try.
    In the URL bar type about:config
    Then change layout.word_select.eat_space_to_next_word to false.

  • When I select a title or lower thirds and try to enter text by double clicking on it I cannot enter any text at all. Also the text area box does not show up at all where you can enter text also.

    When I select a title or lower thirds and try to enter text by double clicking on it I cannot enter any text at all. Also the text area box does not show up at all where you can enter text also.

    It's a bit hit and miss, Walter. Sometimes the box to enter text shows up straight away in the inspector under "text". Other times, although you click "text" in the inspector, there's nowhere to actually write anything.... then what you have to do is move the trackbar over the Title Box until you see the text boxes in the main Viewer. In the Viewer, double click a text box.... you can enter text there, but it's a bit flaky, but when you've clicked in it, you'll find that under "Text" in the inspector, the box for inputting text has magically appeared!
    I'm not sure if anyone else has this trouble, but it is a bit of a pain!

  • JTable's cell double click question...

    Hello everyone,
    My JTable has some cells with icons and text, and some contains only text.
    All cells are editable, so double clicking on it goes to "edit mode" where user enters new value for the cell.
    Here is my question: Can I somehow determine if user has clicked on an icon?
    What I'm trying to do is to put additional information for cell (some comment), and if comment exists, icon will appear.
    Double clicking on that icon, dialog will show that comment.
    Thanks in advance!

    You did not mention that before. ...You are absolutely right, I didn't.
    Let me emphasize importance of this:
    Can I somehow determine if user has clicked on an icon?
    And when I said "clicked" I mean double click when entering edit mode
    of a cell.
    If I could somehow determine that, I could than
    perform desired action (open a dialog, or something else).
    Thank you for your help so far.

  • Finder - Cannot double click items to open

    Since I upgraded to Snow Leopard, intermittently I have been unable to double click some items to open them in their default programs. I can go into the program and open them via File - Open.
    If I double click an item with it's default program open, nothing happens. If I double click an item and the program is not open, the program bounces in the dock and does not open.
    Same for .dmg files. If I download them, I can only open them using Disk Utility.
    These problems are not present when I boot up. They only happen at some point later. A restart fixes the problem.
    Anyone else experiencing this?

    I am having the same issue with my machine, and 3 other iMac machines. All updated to 10.6.1. At first I thought it was just attachments in e-mails not opening correctly... Then I discovered that double-clicking, or right (option) clicking and choosing open, or open with, did not do anything. If the default program for that file is open, it will take you to the program but will not open anything. I have found this to be a problem with .pdf, .doc, .docx, .jpg files. I tried deleting the finder preference file, which has done nothing. No solutions as of yet.

  • Double-clicking a Button Icon

    Is there any way to add an event listener to a button icon?
    I've got icons on the Tabs (Button subclass) of a TabNavigator.
    I've coded the subclassed its Tabs so that a double-click
    brings up a dialog, but when you double-click the icon nothing
    happens.

    Have you set Button.doubleClickEnabled flag to true? Without
    it you won't receive the double click event.

  • Opening files with double click

    Hi, I'm using photoshop CS 6 and Yosemite 10.10.2 and wondering why photoshop is no more able to open files with a single double click. It opens the program but not the file. Second double click is necessary. Really annoying.
    It is also irritating that ADOBE asks me everytime before it opens ps if I want to take part in a survey. I took part several times to get rid of it, but the asking continued ...This is harassing – does it stop when I buy the cloud???
    Anyone else experiencing this?
    regards from Munich
    Stefan Saalfeld

    This was getting so frustrating I turned off FileVault and the problem went away. That's too bad, but there it is.

  • Double Click / Single click problem

    Recently i have been noticing when i single click, using either my magic mouse or trackpad i end up getting a double click, even when my double click is set to as slow as possible.
    Is there anything that can be done to stop this, as this makes many of the menu's in photoshop un usable as well as the dashboard calculator :'(

    My Mother-In-Laws computer (iMac 2GHz- Snow Leopard with current updates) is acting this way also. In her case, she had a Logictec wireless mouse hooked up with the receiver in the keyboard. She has noticed the single click as a double click in Mail and another program (can't remember the other). Suggested that she go back to the original apple mouse and see if it still acted the same way. I'm on the computer now and have been able to recreate the problem with the Apple mouse. Her mouse click setting was all the way to "low". Moved the setting to the middle and didn't see much of a difference. Maybe slightly more instances of double-clicks.
    I have two other macs(my Mac Pro and another iMac) I use on a regular basis and have not seen this problem. But they are also behind on Snow Leopard OS updates. I'm guessing this is an internal problem Apple will have to fix.

  • Problem in Double click event for ALV.

    Hi experts ,
    My scenario is one ALV is displayed in First screen and after double click  on particular column second screen is displayed with the other ALV.
    I have created 2 custom containers.
    My problem is that for the first double click every thing is fine,then i come back to first screen from second screen when i double click on different item the previous item is displayed which was for the first double click .
    I debugg the program ,  passing of data to the internal table is fine.
    Help me in the problem
    Thanks
    Aisurya

    Hi,
    You have to use refresh_table_dispaly  method to update the values. else it will display the same.
    try this logic
    if  cus_cont is initial.
    o_grid->set_table_for_first_display.
    else.
    o_grid->refresh_table_display.
    endif.,
    check BCALV_GRID_03 standard program for reference.
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Dialog programming: making standard input field sensitive to double-click

    Hello,
    I'd like make standard input field sensitive to double-click. I know that I should register double-click event to input field class and write handler. But I can't find out from what class I should derive. What is class of standard input field? Can I derive from that class? Or is there another way to accomplish my requirements?
    Best regards,
    Josef Motl

    I agree with Kinshuk,  Not sure why you need this functionality.   Please implement this sample program do F4 help on the BURKS field and select a company code.  Notice that is populates all the rest of the fields.  Is this the functionality that you require?
    report zrich_0002 .
    parameters: p_bukrs type t001-bukrs,
                p_butxt type t001-butxt,
                p_ort01 type t001-ort01,
                p_land1 type t001-land1.
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
    at selection-screen on value-request for p_bukrs.
      call function 'F4IF_FIELD_VALUE_REQUEST'
           exporting
                tabname           = 'T001'
                fieldname         = 'BUKRS'
                dynpprog          = sy-cprog
                dynpnr            = sy-dynnr
                dynprofield       = 'P_BUKRS'
           tables
                return_tab        = return
           exceptions
                field_not_found   = 1
                no_help_for_field = 2
                inconsistent_help = 3
                no_values_found   = 4
                others            = 5.
      read table return with key fieldname = 'P_BUKRS'.
    * Add it back to the dynpro.
      dynfields-fieldname = return-retfield.
      dynfields-fieldvalue =  return-fieldval.
      append dynfields.
    * Get the company code from db and add to dynpro
      data: xt001 type t001.
      clear xt001.
      select single * into xt001
             from t001
            where bukrs = return-fieldval.
      dynfields-fieldname = 'P_BUTXT'.
      dynfields-fieldvalue = xt001-butxt.
      append dynfields.
      dynfields-fieldname = 'P_ORT01'.
      dynfields-fieldvalue = xt001-ort01.
      append dynfields.
      dynfields-fieldname = 'P_LAND1'.
      dynfields-fieldvalue = xt001-land1.
      append dynfields.
    * Update the dynpro values.
      call function 'DYNP_VALUES_UPDATE'
           exporting
                dyname     = sy-cprog
                dynumb     = sy-dynnr
           tables
                dynpfields = dynfields
           exceptions
                others     = 8.
    start-of-selection.
    Regards,
    Rich Heilman

  • Show long text for Quality Notification when double click field in alv

    I have an ALV grid called using a FM and I am using the user command routine to do somthing when a particular cell is  clicked.  I want to  call up the root cause text from the action box of the QN via QM03 .  I am building a BDC table to call with a CALL transaction but when I write my BDC up to that point, the program is running the BDC but not going to the point where the long text is displayed is i am in mode 'N'.
    FORM user_command USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
      READ TABLE itab INDEX rs_selfield-tabindex.
      CASE r_ucomm.
        WHEN '&IC1'.
          CASE rs_selfield-fieldname.
    * When double click on root cause, display root cause long text
            WHEN 'ZZ_URCOD'.
              PERFORM display_root_cause_text.
              CALL TRANSACTION 'QM03' USING gt_bdc MODE 'N'.
      ENDCASE.
    ENDFORM.                    "user_command
    FORM display_root_cause_text .
      FREE gt_bdc.
      PERFORM fill_bdc USING 'SAPLIQS0'     '0200'      'X'.
      PERFORM fill_bdc USING 'RIWO00-QMNUM'  itab-qmnum  space.
      PERFORM fill_bdc USING 'SAPLIQS0'     '7200'      'X'.
      PERFORM fill_bdc USING 'BDC_OKCODE'  '=10\TAB03'  space.
      PERFORM fill_bdc USING 'SAPLIQS0'     '7200'      'X'.
      PERFORM fill_bdc USING 'BDC_CURSOR'
                             'QMICON-LTURSACHE(01)'     space.
      PERFORM fill_bdc USING 'BDC_OKCODE'  '=UX01'  space.
    ENDFORM.                    " DISPLAY_ROOT_CAUSE_TEXT
    Any one have any suggestions of know of a BAPI that I can achieve the same thing?
    Thanks
    Larissa Maryniuk

    Hello,
    also try to use the messages clause (of type BDCMSGCOLL).
    This will return the system messages.
    call transaction 'XXXX' using BDCTAB
                                            mode 'P'
                                            messages into MSG_TAB.
    Try to change the mode from 'N' to 'P' and try to place a breakpoint and check what happens.
    Alternatively, you can read the Quality Notification text using FM READ_TEXT, and then show this data to the user in pop-up, rather than calling the tx.
    Hope this helps.

  • How to handle double click event in a text control

    Hi,
       Will u please send me information on handling double click events inside text control and also about locking and unlocking of DB tables for updation.
    Regards,
    Praba.

    Hi Prabhavathi,
    Here is how you handle double click events in Textedit control.
    1)Create a custom control in screen (say TEXT_CONTROL)
    2)In main program,
    a) Declarations:
    data: obj type ref to cl_gui_custiom_control.
          text type ref to cl_gui_textedit.
    b) Create the instance of custom container
    c) Create the instance of textedit control.
    3)Now to handle double click events , create a local class as follows.
    class shail_event definition.
    public section.
    methods:
    handle_doubleclick for event dblclick of cl_gui_textedit .
    endclass.
    class shail_event implementation.
    method handle_doubleclick .
    here do the coding for handling the double click.
    endmethod.
    endclass.
    4) Create an instance of the handler class(ie.ZSHAIL_EVENT).Let it be named hand.
    5) Define varibles for event.
    DATA: i_events TYPE cntl_simple_events,
          wa_events TYPE cntl_simple_event.
    SET HANDLER hand->handle_doubleclick for text.
    wa_events-eventid = cl_gui_textedit=>event_double_click.
    wa_events-appl_event = 'X'. "This is an application event
    APPEND wa_events TO i_events.
    6)
        CALL METHOD texte->set_registered_events
          EXPORTING
            events                    = i_events
          EXCEPTIONS
            cntl_error                = 1
            cntl_system_error         = 2
            illegal_event_combination = 3
            OTHERS                    = 4.
        IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    These are the basic steps needed for handling events in Textedit control.You can go to SE24 and type CL_GUI_TEXTEDIT to find the associated events of the class.
    If you want the program, kindly send your mail-id so that I can mail it to you.
    Regards,
    Sylendra.

  • When I am on a phone call and I double click the button to go to my home screen, then open another application (usually my calendar program, Calengoo), my screen goes blank and I am not able to return to either the app, the phone, or the home screen.

    When I am on a phone call and I double click the button to go to my home screen, then open another application (usually my calendar program, Calengoo), my screen goes blank and I am not able to return to either the app, the phone, or the home screen. If I am speaking to a person, if they hang up then I am back to the phone application. If I'm leaving a message, I am unable to return to the phone screen to end the call, and have to wait until the other phone hangs up. I'm also unable to switch back and forth to look at my calendar if I'm calling someone about scheduling. This has only started happening since the most recent iOs update. I run into situations similar to this about once per day during the work week, as I use my phone is this manner quite often. While not life altering it is quite frustrating. Can anyone here help me figure out a way to avoid this? If it helps, I have noticed a general downgrade in overall performance starting two system updates ago (apps opening more slowly, closing unexpectedly more often, etc.). I have an iPhone 3GS with the latest OS update.
    Thank you for any help or suggestions,
    Chris

    I could be corrupted backup.
    You can check the notification settings for message.
    Settings>Notification Center>Messages>Alert Style
    It should be on Banners or Alerts.
    Settings>Messages> Turn on Imessage and send as SMS and below that "Blocked" to check if you have any numbers block might be blocking the message.
    You can also do a hard reset by holding power and home till it restarts and release after seeing the apple logo.
    Still doesn't work? Settings>General>Reset>Reset all settings

Maybe you are looking for