This seems to "Deletes" the controls from the form.
IS there a way to clear the values/contents in all the fields of a form
using a single (or) a set of commands ?
This seems to "Deletes" the controls from the form.
IS there a way to clear the values/contents in all the fields of a form
using a single (or) a set of commands ?
Apologies for the confusion. I saw this post and asked a related question.
How/where can we set a form to new ?
We want to make this call from an icon in our form. We are not able to call
Me.New() or MyBase.New() as they are constructor methods.
I don't know if it is a real good solution, however when I tried this I
thought it gave me the result as expected with a designer created form.
\\\
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
Me.Controls.Clear()
InitializeComponent()
End Sub
///
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.