December 7th, 1999, 07:22 PM
Help me!
I wonder how can I passing an object as function/sub parameter
since the procedure call always think my object as its default property/method
example:
Dim objectRef as MyObject
set objectRef = new MyObject
showObjectInfo(objectRef) 'Here it thinks objectRef as its default property
sub showObjectInfo(oR as MyObject)
oR.x = 1
oR.y = 2
end sub
help me and send me mail(topxeq@cattsoft.com)
thanx a lot
I wonder how can I passing an object as function/sub parameter
since the procedure call always think my object as its default property/method
example:
Dim objectRef as MyObject
set objectRef = new MyObject
showObjectInfo(objectRef) 'Here it thinks objectRef as its default property
sub showObjectInfo(oR as MyObject)
oR.x = 1
oR.y = 2
end sub
help me and send me mail(topxeq@cattsoft.com)
thanx a lot