text scroll

  • Thread starter Thread starter Rohan via AccessMonster.com
  • Start date Start date
R

Rohan via AccessMonster.com

Is there any way I can get the text box to scroll all the way to the bottom
without having to hold down the
scroll bar down arrow ? I have a user that has a lot of text in a text box
that she needs to append to on
a regular basis and she finds the scrollbar arrows too slow.

Rohan.
 
You can set the textbox's SelStart property to the length of the text that's
in it.

In the form's Current event, use code like:

Private Sub Form_Current()

Me!LongTX.SetFocus
Me!LongTX.SelStart = Len(Me!LongTX & "")

End Sub

Replace LongTX with the name of your textbox
 
Douglas said:
You can set the textbox's SelStart property to the length of the text that's
in it.

Works a treat - thank you.

Rohan.
 

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

Back
Top