Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving Cursor with Mouse Click

Status
Not open for further replies.

Jim318

Programmer
Jul 1, 2002
33
0
0
US
I noticed that with my new application that the user has to click a very small area in the far left of a text box in order to move the cursor to that textbox. Is there anyway to allow the user to click anywhere on the textbox to move the cursor to that particular text box?

Thanks,
Jim
 
You should be able to click anywhere in it. Check nothing is covering it and/or try it with other texboxes to see if you get the same result.

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
you could add javascript to the onclick...

Code:
txt.attributes.add("onclick","javascript:document.getElementById('txt').focus();")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top