Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

End of Textbox

Posted on 2003-12-03
3
Medium Priority
?
162 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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 …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

618 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