[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 642
  • Last Modified:

How to manipulate a scroll bar in vb

My form contains a textbox which is bound to a memo field, and often cannot display the full length of the memo.

When this occurs, I'd like to automatically scroll down so only the last few lines of the memo are displayed in the textbox (so the user can see and add text to the end of the memo).

Is this possible?  How?  Can the vertical scroll bar and/or the increment arrows at the ends of the scroll bar be manipulated in vba?
0
David_W_R
Asked:
David_W_R
1 Solution
 
Rey Obrero (Capricorn1)Commented:
try setting the cursor to the end of the text in the textbox

me.text0.selstart=len(me.text0.text)
0
 
David_W_RAuthor Commented:
That's it.  Thanks for the timely response yet again, capricorn1
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now