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
Solved

copying text from text box..

Posted on 2004-10-02
1
157 Views
Last Modified: 2010-05-18
I have two text boxes, that have scroll bars and are multi line..  when i write text in text1, it copies it to text2.  when the scrolling starts, the text1 where i am typing starts scrolling, but text2 doesnt scroll automaticallty.. i have to scroll down to see the last thing typed.. i  want the text2 textbox also to show the last line typed.. is it possible ??  here is the simple code..

 Private Sub Text1_Change()
Text2.Text = Text1.Text


regards...
0
Comment
Question by:ganatra
1 Comment
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 25 total points
ID: 12206992
Try with:

Private Sub Text1_Change()
Text2.Text = Text1.Text
Text2.SelStart = len(Text2.Text)
'etcetera
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

765 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