Text Field Alignment

  • Thread starter Thread starter John
  • Start date Start date
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
 
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")
 
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.
 
Back
Top