instantiate a new object with a constructor

  • Thread starter Thread starter portroe
  • Start date Start date
P

portroe

in VB .net

how will an event procedure instantiate a new object with a constructor
call and then show the main form again?

i am lost, any help appreciated,

thanks

portroe
 
* portroe said:
in VB .net

how will an event procedure instantiate a new object with a
constructor call and then show the main form again?

A new main form? Did you close the main form?!
 
yes you are correct, but i am using combo boxes, and I need the reset,

what i do not understand fully is the method for instantiating a new object,

Murt
 
* portroe said:
yes you are correct, but i am using combo boxes, and I need the reset,

what i do not understand fully is the method for instantiating a new object,

I am still not sure what you want to do. Do you want to reset all
controls on a particular form?
 
My example in one case is that I need to enter a persons details (name,
address etc) using text boxes, and Combo boxes

I want to submit and repeat the procedure for the next persons details,

thanks
 
* portroe said:
My example in one case is that I need to enter a persons details
(name, address etc) using text boxes, and Combo boxes

I want to submit and repeat the procedure for the next persons details,

IMO it's really user-unfriedly if the form disappears and then
reappears. Why not write a procedure which resets the controls do their
default values?
 
Back
Top