Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object property is not allowed
Message
From
24/03/1998 15:44:06
 
 
To
24/03/1998 14:20:57
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, United States
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00086135
Message ID:
00086810
Views:
49
>>>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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform