jm
|
| Posted: 02/25/2005, 4:03 PM |
|
Hi to all
How I can keep the cursor in edit after I enter a txt in a search field so when I enter the next record I don''t have to higlight it so It can be del for the nest record
Thank you
JM
|
|
|
 |
Triffid
Posts: 6
|
| Posted: 02/26/2005, 1:41 AM |
|
Not sure if this is what you mean, but do the following to focus and select all text on any field:
Make the field Extended HTML
In Properties-Events add the "Set Focus" client action
In Properties-Format add "javascript:select(); to the onfocus Event
hope it helps
|
 |
 |
jm
|
| Posted: 02/26/2005, 3:10 AM |
|
Thank you that is keeping the cursor in that field, now how I can apply the same action as Ctrl_A in that field so when I enter the next record it will clear
Thank you
|
|
|
 |
Triffid
Posts: 6
|
| Posted: 02/26/2005, 4:21 AM |
|
Just replace: javascript:select();
with: javascript:this.value="";
Clears the value when field gets focus
If this is not what you mean pls elaborate.
|
 |
 |
jm
|
| Posted: 02/26/2005, 5:05 AM |
|
I have select to use the asp.net VB, it appears that the directions does not work please advice
Thank you
|
|
|
 |
jm
|
| Posted: 02/27/2005, 4:27 AM |
|
thank you for all the help I was able to do what you have said my first project and only one it realy works in a Pocket PC device that it was a matter of a browser and not a matter of a script lang here is the link for the browser that works very nice http://nfppc.access.co.jp/english/
|
|
|
 |