Hi,

Does anyone no if it is possible to remove controls like a textbox during runtime?

A Form has a Controls collection.
To Add a control at runtime you say : Myform.Controls.Add(MyTextbox);
To remove it you use Myform.Controls.Remove(MyTextbox);

commented: Excellent +1
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.