0

I'm have a window application prog that's panel and text boxes appear in it when data send to it and when i have a lot of text boxes the auto scroll appear .
my problem every new text box that appear in the end of panel and i need to use scroll to see it , i need every new text box appear in the top of panel how i can do that .
my function for textBoxes creation

i++
j = j + 60

public string dev(String k)
{
textBox textbox = new textBox();
suspendlayout();
textbox.location =new system.Drawing.Point(3,3);
textbox.size = new size(207,59);
textbox.name = i.tostring();
textbox.tabindex = 1 ;
textbox.multiline = true ;
textbox.ReadOnly = true ;
textbox.text = k ;
controls.add(textbox);
resumelayout(false);
panel2.controls.add(textbox);
return textbox.text.tostring();
}
2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by ddanbe
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.