Solved

End of Textbox

Posted on 2003-12-03
3
157 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 50

Expert Comment

by:Ryan Chong
ID: 9871435
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
ID: 9871548
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 50

Accepted Solution

by:
Ryan Chong earned 50 total points
ID: 9871705
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

790 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