?
Solved

End of Textbox

Posted on 2003-12-03
3
Medium Priority
?
161 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
[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
  • 2
3 Comments
 
LVL 53

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 53

Accepted Solution

by:
Ryan Chong earned 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month8 days, left to enroll

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