Passing a value to a custom form New event

pachjo

Well-known member
Joined
Dec 12, 2006
Messages
370
Programming Experience
10+
I have created a new form and need to pass an object into it something like this:

frm = New frmAnyForm(myObject)

Is this possible?

I cannot find the part in my project which allows access to the New constuctor....

Thnx
 
Write "Public Sub New" and press Enter key in your user code file (where you normally write form code), then add the method parameter, add any code after the mandatory InitializeComponent call.
 
Back
Top