Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object property is not allowed
Message
De
20/03/1998 20:44:17
 
 
À
20/03/1998 20:23:46
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00086135
Message ID:
00086173
Vues:
58
>>Is this normal an object property is not allowed in an ActiveX control?
>>
>>This is my definition for the property:
>>
>>Public Property Get ParentObject() As Object
>>ParentObject = loParentObject
>>End Property
>>
>>Public Property Let ParentObject(ByRef loValue As Object)
>>Set loParentObject = loValue
>>PropertyChanged "ParentObject"
>>End Property
>>
>>If I change it for String, it works. Any idea on how I can make it work with an object?
>
>
>
>Use Set instead of Let.

Thanks.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform