Text Field Alignment

J

John

I would like to format a text box so if the user clicks into it with the
mouse or tabs into it that the cursor will always go the left side of the
box.

Thanks for you help
 
A

Adrian Tofan

Select Properties for your Text box and in Format Tab (first tab) scroll
down to Text Align option and select "left" (by default is "General")
 
F

fredg

I would like to format a text box so if the user clicks into it with the
mouse or tabs into it that the cursor will always go the left side of the
box.

Thanks for you help

If you wish to control where the cursor will go when you tab into the
control, or if you select the control's attached label, you can code
the control's Enter event:

Me![ControlName].SelStart = 0

However, if you click in the field, the cursor will be wherever the
person clicked, not at the beginning.
 

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