Solved

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

Posted on 1998-11-19
1
332 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 20 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

749 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