|
-
Dec 1st, 2003, 08:15 AM
#1
Thread Starter
Hyperactive Member
communicating between forms
I have a from with a button. If you click the button it displays a dialog with a listbox, you select values on this form, click OK and get back to form1. What would be a good way to return values from Form2 to Form1.
-
Dec 1st, 2003, 08:17 AM
#2
yay gay
check the other post started by Albino that explains a similar behavior..
\m/  \m/
-
Dec 1st, 2003, 08:42 AM
#3
Hyperactive Member
u can declare public shared variable for holding the value and this u can share between the forms too.
-
Dec 1st, 2003, 08:43 AM
#4
Thread Starter
Hyperactive Member
Public shared variable means a public property in form2?
-
Dec 1st, 2003, 08:47 AM
#5
Hyperactive Member
no u declare a variable as public shared
-
Dec 1st, 2003, 08:51 AM
#6
Thread Starter
Hyperactive Member
-
Dec 1st, 2003, 08:58 AM
#7
Hyperactive Member
-
Dec 1st, 2003, 09:00 AM
#8
Thread Starter
Hyperactive Member
BTW What was its substitute in VB6. OR what do we do for a VB6 application to pass variables between forms?
Does public shared mean just a public variable in VB6, that would make it global. Is that right?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|