Nevermind, I got it using ADDPROPERTY(...)
Don't know where my head is at today! :o)
I am creating an object based on an object in a .net com interop dll. The object contains a few properties and a collection. When I first create the object, it has no visible properties, however I can set property values except for one. One of the object's properties is a collection. I need to add the collection as a property to the existing object, but this fails:
oObject.Add('myCollection','collection')
why?
I am receiving an object which matches this type of object in an event of the com interop dll. The arg passed contains the same type of object including the collection as one of its properties. My goal is to copy that object to my object, but when I get to the collection in the passed object, it is visible, but my collection is not. How do I copy the collection property from the passed object into my object (as a property of my object)?
TIA,
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"