Solved

scroll on a disabled or readonly text box

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

810 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