cancel
Showing results for 
Search instead for 
Did you mean: 

How to associate a keyboard key to an action

Former Member
0 Kudos

Hi to all,

how can I associate a keyboard key (for example "ENTER") to an action, so that when I hit ENTER key that action (bound to a button) is executed as if I click the button with my mouse cursor.

Thanks a lot,

Antonio

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank you,

I will try asap.

Antonio

Former Member
0 Kudos

Hi Antonio,

You may find the "OnEnter" event for the inputField UI element useful. In this event you can define an action that will occur when Enter is pressed in that inputField (usually the same as your Submit button action).

Regards

Michael

Former Member
0 Kudos

Key bindings are defined by the Unified Rendering which is used by the Web Dynpro HTML client implementation. You can't change them via a Web Dynpro API.

Armin