Skip to Content
avatar image
Former Member

Action when pressing Enter

Hi NG,

how do I craete an Event when 'Enter' is pressed.

In Deatail:

In my App there is a button. I want to fire the action 'onAction' not only by clicking that button but also when 'Enter' is pressed.

Kind Regrads

Stefan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    May 19, 2005 at 07:14 AM

    As far as i know u cannot create customized events.

    No There is no enter event attached to button

    u cannot create that

    Sorry for the reply

    yes what i said was corect that u cannot create onEnter Action for the button but the onAction or onEnter performs same for the button.

    u can try onEnter by pressing tab key and having focus on the button

    With Wishes

    Krishna Kanth

    Message was edited by: krish kanth

    Add comment
    10|10000 characters needed characters exceeded

  • May 19, 2005 at 07:25 AM

    Hi Stefan,

    Krish is right. In order to implement this functionality

    you would need at first to use setfocus() for the button and then handle the onenter() action.

    But neither of the two is possible in this "powerfull" framework.

    regards, Ulli

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 18, 2005 at 03:37 AM

    This is also going to be a serious issue for me. I NEED to be able to use the enter key in my Web Dynpro development. The user is used to using the enter key as it works in their existing Webgui Workplace programs. Is it really such an issue to use the enter key in a Web Dynpro development ?

    Does anyone have any more information as to whether this is possible in NW2004 ?

    Add comment
    10|10000 characters needed characters exceeded