|
-
Aug 29th, 2000, 04:27 AM
#1
Thread Starter
Hyperactive Member
I am making a user control, when user click a button, then a much bigger form will be displayed.
The program is - how I can pass information from the user control to the form. I tried to use Public, but then it goes into a mess, since different instance of the same control seems to share the same global variable.
Do anybody can tell me how to pass information to/from user control and the form?
Thanks
-
Aug 29th, 2000, 04:45 AM
#2
transcendental analytic
If you're developing an ocx, you could make a module containing all public variables in arrays or collections. You could as well do it in a standard exe but your will have to have that module available for your whole project, which could interfer with other global vars.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|