on 10-05-2010 9:32 PM
Hi, how can I mark the text in inputField when it get focus, without using TAB key? We use ENTER to jump to next inputField, and I want the default text to be marked, as in JavaScript xx.select().
Thanks.
Try using the Request_focus method of IF_WD_VIEW_CONTROLLER
[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/2e/a9ed633634494da688855433e105da/frameset.htm]
you could call this from the onEnter event of the input field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
marked the question unanswered..
Edited by: Rune Johansen on Oct 6, 2010 2:36 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The solution seems to be not perfect.
When I key in a value and touch ENTER very fast the field to be focused, gets focused, BUT the text doesnt get marked!
When I key in a value and touch ENTER at a normal speed or slow, the field will get the focus AND the text gets marked.
What can the reason be?
Am I to fast for the Web Dynpro environment??!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, exactly what I wanted!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.