Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Using TEXTBOX --Setting Vertical Scrollbar to Bottom of Box?

Posted on 1998-11-19
1
Medium Priority
?
347 Views
Last Modified: 2010-05-03
I am using a textbox in my app. I have turned on the multiline feature and enabled scrollbars to appear. The one thing i cant figure out is how to set the vertical scrollbar to the bottom of what is inside the textbox's text field.
The reason is because i continuously add more text into this textbox all the time via a text file from my hard drive. Every time i add more and more text into the box the scrollbar remains "fixed" at the top of the box which completely makes sense, but i am looking for an automatic way of tell it to set the vertical scrollbar to the very bottom of the box.
0
Comment
Question by:aniston
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
kamall earned 40 total points
ID: 1445771
Every time you add text to the box, set the focus to the text box and use the SendKeys statement with 'PGDN' (Page Down) to send a few page down keystroks to it.
Hope that helps.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question