Solved

scroll on a disabled or readonly text box

Posted on 2006-10-31
4
367 Views
Last Modified: 2012-05-05
How can you scroll on a textbox that is disabled or readonly?
0
Comment
Question by:shmitnols
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
Roopesh_7 earned 500 total points
ID: 17844456
enable it won't work but it is a readonly scroll bar will work .....
0
 

Author Comment

by:shmitnols
ID: 17844563
readonly did not work either
0
 
LVL 6

Expert Comment

by:Roopesh_7
ID: 17845376
put readonly on and textmode = multiple line
0
 
LVL 12

Expert Comment

by:sandip132
ID: 17847302
ReadOnly textbox can scroll...

this.textBox1.Location = new System.Drawing.Point(88, 80);
                  this.textBox1.Multiline = true;
                  this.textBox1.Name = "textBox1";
                  this.textBox1.ReadOnly = true;
                  this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
                  this.textBox1.Size = new System.Drawing.Size(144, 56);
                  this.textBox1.TabIndex = 0;
                  this.textBox1.Text = "textBox1 textBox1 textBox1 textBox1 textBox1 textBox1 textBox1 textBox1 textBox1 " +
                        "textBox1 textBox1 textBox1 textBox1 textBox1 textBox1 textBox1 textBox1 textBox1" +
                        " textBox1 ";
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

12 Experts available now in Live!

Get 1:1 Help Now