|
-
Mar 7th, 2008, 04:06 PM
#1
Can one Class know the object of another Class?
Let's say I have two class modules one called Apple and the other called Orange.
Now in a .bas file I have the following declarations:
Public appl As Apple
Public oran As Oranges
Now in the main Form I have some code like this:
'
'
'
Set appl = New Apple
Set oran = New Orange
'
'
'
So my question is; is there a way in class Apple, for example, it has a way of knowing that oran was set as the object of class Orange?
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
|