CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Keep cursor on edit after enter?

Print topic Send  topic

Author Message
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
View profile  Send private message
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.
View profile  Send private message
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/

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.