To attach a scroll bar to textbox,the property of textbox should be set to
1. multiline = true
2. scroll bar = true
3. single line = false
4. none of these
Answers
Answered by
9
scroll bar =true
HOPE IT IS HELPFUL TO YOU
HOPE IT IS HELPFUL TO YOU
shhshshvfgsvsg:
R U sure??
Answered by
0
The scroll bars enumeration value will indicates a Multiple text boxes. So to control it will appears a horizontal scroll bars, vertical scroll bar, or both and with no scroll bars.
Hence it is default ScrollBars.None.
Example
public void CreateMyMultilineTextBox()
{
TextBox textBox1 = new TextBox();
textBox1.Multiline = true;
textBox1.ScrollBars = ScrollBars.Vertical;
textBox1.AcceptsReturn = true;
textBox1.AcceptsTab = true;
textBox1.WordWrap = true;
textBox1.Text = "Welcome!";
}
scroll bar = true
Similar questions
India Languages,
6 months ago
Hindi,
6 months ago
Social Sciences,
6 months ago
CBSE BOARD X,
1 year ago
Social Sciences,
1 year ago
Physics,
1 year ago