Solved

End of Textbox

Posted on 2003-12-03
3
153 Views
Last Modified: 2010-05-01
I am typing in a lot of text and all of a sudden VB won't let me type in anymore.  I got all the way to the right of VB and the horizontal scroll won't go any furthur.  How can I enter in a lot of text and still be able to have a vertical scroll bar?

Thanks.
0
Comment
Question by:johnqtr
  • 2
3 Comments
 
LVL 49

Expert Comment

by:Ryan Chong
Comment Utility
You may need to set the MultiLine Property to True, then in the ScrollBars Property set as 2 or 3 and make sure MaxLength Property to 0.

cheers
0
 

Author Comment

by:johnqtr
Comment Utility
I can only type so much and then the horizontal scroll bar in VB will stop.  Here is an example:

Text1.Text = "Long paragraph"  Keep going this way and VB will stop scrolling horizontally.
                   "can I type here too"
                    "and here? etc. for the same Text1?

Thanks
0
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 50 total points
Comment Utility
In your form_load event, try add:

Text1.Text = "Long paragraph"  & vbcrlf & _
                   "can I type here too" & vbcrlf & _
                    "and here? etc. for the same Text1?"

?? Try adjust the ScrollBars Property to meet your requirement.

regards
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now