Hey guys,
I'm fairly new to properties and having some problems with a property array. I think I have the Property Get and Let procedures correct, but I can't seem to get the ReadProperties and WriteProperties functions. Here is the code that I have. Can anyone help with this?
Code:Public m_Test() As String Public Property Get Test() as String() Test = m_Test End Property Public Property Let Test(ByRef New_Test() As String) Dim I as Integer Redim m_Test(Ubound(New_Test,1)) For I = LBound(New_Test,1) To UBound(New_Test,1) Test(I) = New_Test(I) Next I End Property




Reply With Quote