Ok,
I have a local array of a defined type in my class and I would like to allow access to its values for user through the property of this class.
Code:
Private Type AdfPoint
PID As String
Xact As String
Xdes As String
Yact As String
Ydes As String
Zact As String
Zdes As String
Note As String
End Type
This is the class type of each item in array and next should be the external one:
Code:
Public Type AdfPointExternal
PID As String
Xact As Variant
Xdes As Variant
Yact As Variant
Ydes As Variant
Zact As Variant
Zdes As Variant
Note As String
End Type
which I have declared in a module.
I have a variable in class
Code:
Private AdfPoints() As AdfPoint
where are data stored and I would like to use this property in this way
(I suppose a property called i.e. Point)
object.Point(index) = some AdfPoint
some AdfPoint = object.Point(index)
But I can´t pass it using
Public Propery Get, Let Point(?)
Is that possible?
Thanks