on 02-01-2008 2:32 PM
Hi all,
i have a web dynpro application which should be started after pressing the key "Enter". There is a button "Go".
How can i do this that enter has the same functionality as the "Go"-button?
regards
Hi Wolfgang,
As you need to execute the same action that is being done on action go for your
on enter too.
Just create an ON_ENTER action .
Put the following code in the ON_ENTER method
DATA:lo_event TYPE REF TO cl_wd_custom_event.
CREATE OBJECT lo_event
EXPORTING
name = 'ON_GO'.
wd_this->onactiongo( lo_event ).
Hope this solves your problem.
Regards,
Ismail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wolfgang,
If I am getting you right, you want to replicate what the Go button click does on the Enter event of an InputField.
You can map an action to the OnEnter event of the InputField. From the action mapped you call the "Go" action.
Eg: If the action name mapped to the button Go is "Go" then:
You can use the following code:
wd_this->onactiongo( wdevent ).
This should do the trick.
Hope that I have got the question right.
Regards,
Ameya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.