I need Create many for textbox
example
http://www.al-lord.com/photo/img/31f6256da18478b993e7407532077072/02.gif
result
http://www.al-lord.com/photo/img/13a04d9d3a4aec5b27575e69003d2d17/01.gif
help me
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AnttiPosted Mar 13, 2006, 6:45 AM
Just create textbox objects, and add them to the form. Use for-loop to make sufficient amount of text boxes.
this.SuspendLayout();
{
for(int i=0; i
TextBox newBox = new TextBox();
newBox.Size = new Size(100,20);
newBox.Position = new Point(i*20,10);
this.Controls.Add(newBox);
}
this.ResumeLayout();