Solved

End of Textbox

Posted on 2003-12-03
3
160 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 52

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 52

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…

728 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