cancel
Showing results for 
Search instead for 
Did you mean: 

Binding keyboard Enter to a button?

Former Member
0 Kudos

Hi all

How to bing the Keyboard "Enter" to a button in webdynpro layout?

Regards

Swati

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

What you mean is the so called "default button" in a container.

I don't remember if this feature is already available in NW04, at least in NW04s it exists.

To use it:

Let e.g. C be a TransparentContainer. Set

C.defaultButtonId = ID-of-button
C.isLayoutContainer = false

Then the default button should get a black border and it should be triggered if you press the ENTER key somewhere inside the container.

Armin

Former Member
0 Kudos

Hi,

1. You can just hit on tab and move to the corresponding button.

2. When the selection is in the button u need not write any code for Enter event, just press enter button automatically ur button action event will be triggered.

Regards,

Nagarajan.

Former Member
0 Kudos

if you have input fields you see also an action called onenter. bind the event that should be triggered to that action

Former Member
0 Kudos

Hi,

If you press the Enter key on the keyboard, some action should be taken like mouse click on that button, is that your need? or

do you want the keyboard 'Enter' Event?

regards

karthik