kahlua001 Posted December 15, 2003 Posted December 15, 2003 I'm new to forms and this is a simple question. In form 1 i call form two like this Dim Form2 As New SecondForm Now how do I pass a value into Form2 that i set in form 1? Thanks Quote
Moderators Robby Posted December 15, 2003 Moderators Posted December 15, 2003 You can overload the constructor of form 2 and pass them during decalration... Dim Form2 As New SecondForm ( somearg1,somearg2) Or you can create some properties in form 2, set their values while in form 1. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.