|
-
Jul 13th, 2006, 12:49 PM
#1
Thread Starter
New Member
Passing objects between functions
I have a function that creates two objects and shows a form...
Other than making the objects global, is there a way to pass them to the form and its event-driven functions? I'm just using Form.Show to display the form and the event-driven form functions no longer have the objects in scope by the time they run...
I hope my question makes sense to someone here, I'm new to object-oriented programming. I'm familiar with using pointers to pass arrays of data in C but have not used pointers with VBA, not to mention I don't see how even pointers would help me out here...
Any advice would be appreciated. Thanks,
Dave
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
|