on 10-09-2006 1:08 PM
Hello SDN'ers,
I have a request from our Users that they would like the following
1.when they are enter into a inputfield using a tab key they would like the exisiting value get selected or when they start typing it gets overwritten from left to write.
Current situation is that
InputField having a maximum length 5.Initial value as 00000.
When the user enter into that field cursor is positioned in the first char.If you start typing,nothing happends.You have to manually select the 00000 and then start typing or position the cursor to last position and use backspace..etc.
Is there any solution for this ?
Any SAP members know about this or when will it be available ?
Thank and regards
Senthivel
Hi,
If the user clicks on tab and comes to an input field where a value has been entered(or default 00000), it should be selected automatically. The user can start typing and it will get overwritten.
If you want the field to get the focus so that it is selected when the user comes for the first time, put the following code in wdDoModifyView
IWDInputField Fld =
(IWDInputField)view.getElement("FieldId");
Fld.requestFocus();
Hope it helps,
LM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Baskaran,
This is not available in current WD versions (either NW04s or NW04). Only OnEnter (ENTER key) event is supported.
When (and whether) focus move/key binding will be available later is another question. Probably someone from WD team will answer here, stay tuned.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.