create dynamic text boxes
-
Textbox txt=new Textbox(); Controls.Add(txt); txt.show();//it wud display txt at top-left corner of the form :rose: -- modified at 8:11 Thursday 7th June, 2007
Regards Chintan www.visharadsoft.com (Nothing is so purify as KNOWLEDGE)
-
What did you mean: "dynamic text boxes"? May be you wanted to say how to create text boxes dynamically? There is the solution:
private void Form1_Load(object sender, EventArgs e) { TextBox myDynamicTextbox = new TextBox(); myDynamicTextbox.Size = new Size(100, 20); myDynamicTextbox.Location = new System.Drawing.Point(10, 10); this.Controls.Add(myDynamicTextbox); }
-
Textbox txt=new Textbox(); Controls.Add(txt); txt.show();//it wud display txt at top-left corner of the form :rose: -- modified at 8:11 Thursday 7th June, 2007
Regards Chintan www.visharadsoft.com (Nothing is so purify as KNOWLEDGE)