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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scroll to bottom of Memo box

Status
Not open for further replies.

rjurgens

MIS
Jul 9, 2003
37
GB
I have a display box in my form which takes is a Memo field. Since this can be quite big, when the user opens up the form, I want the Memo field to be scrolled to the bottom automatically. Any help would be appreciated.

Thanks
 
Hallo,

In the OnLoad event (or whenever the memo field is populated) put the following:
Code:
With me!txtMemoField
  .SetFocus
  .SelStart=Len(.Value)
End With

Hope that helps,

- Frink
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top