helo am new in vb6. i have three forms and i want form 1 to link to form2 and form3 link to form2 please help me with the code
linking a form to different forms
Collapse
X
-
Connect how?
In form1...
Form2.show
me.hide 'or unload me
in form2
form3.show
me.hide 'or unload me
Or are you talking about one form containing another form? If so, then you will need to add a MDI form to your project and your existing forms will need their MDIChild Property set to true.
Side by side???
In form1
Me.Move 0, 0, (screen.width / 3), (screen.height / 3)
in form2
me.move form1.width, 0, (screen.width / 3), (screen.height / 3)
in form3
me.move (form2.left + form2.width), 0, (screen.width / 3), (screen.height / 3)
Good LuckComment
Comment