>>>Public Property Let ParentObject(ByRef loValue As Object)
>>>>Set loParentObject = loValue
>>>>PropertyChanged "ParentObject"
>>>>End Property
>>>>
>>Private Sub UserControl_WriteProperties(PropBag As PropertyBag)
>>'PropBag.WriteProperty "ParentObject", ParentObject
>>
>>Private Sub UserControl_ReadProperties(PropBag As PropertyBag)
>>'ParentObject = PropBag.ReadProperty("ParentObject")
>
>What is the value of ParentObject? I think the property bag can only contain numbers and strings. I'm not sure if it can contain an object reference or something like that.
ParentObject is an object. You will get the entire settings for that property from my other message.
As for the property bag handling an object, I've seen various examples here and there. This is an interesting point. Maybe in my case I don't need it. I'll try without those values and will let you know.