Solved

scroll on a disabled or readonly text box

Posted on 2006-10-31
4
368 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

863 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

23 Experts available now in Live!

Get 1:1 Help Now