|
-
Oct 22nd, 2002, 03:31 PM
#1
Thread Starter
Hyperactive Member
Object Programming Question (Resolved)
Hello,
I've set up an object, and am trying to nest other objects. However, it seems that it won't work. Can anyone help?
Example Code (in a .BAS Module):
Public Type AObj
Param1 as Integer
Param2 as Integer
End Type
Public Type BObj
Params as AObj
End Type
Public BigObject as BObj
When using this, I can enter:
a = BigObject.Params
The following won't work:
a = BigObject.Params.Param1
a = BigObject.Params.Param2
Any Ideas on how to make this work?
I'm using VB6-SP5
Thanks,
Ken
Last edited by Ken Whiteman; Oct 24th, 2002 at 05:13 PM.
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
|