Want Users Cursor To Always Go To Beginning Of Field

S

Smitty

How can I ensure that when a user is navigating the fields in a form I
created,
and not simply hitting tab or enter, that their cursor will always go to the
very beginning (far left) in a field?
 
G

ghetto_banjo

if they are using the mouse to click in a text box and you want to
ensure the cursor starts at the beginning, then put this code in the
On Click event of the text box:

Me.Text0.SelStart = 0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top