Article ID: 169772
Article Last Modified on 6/24/2004
Public Property Let MyProperty(newValue As Boolean)it needs to be changed to:
Public Property Let MyProperty(ByVal newValue As Boolean)to work correctly.
'A public variable is always visible in the Properties Window.
Public VisibleProperty as Boolean
Public Property Get HiddenProperyA() as Boolean
End Property
Public Property Let HiddenPropertyA(newValue as Boolean)
'By default the argument is passed by reference.
'This property will not be displayed in Properties Window.
End Property
Public Property Get HiddenPropertyB() as Boolean
End Property
Public Property Let HiddenPropertyB(ByVal newValue as Boolean)
'This argument is passed by value.
'This property will be displayed in Properties Window.
End Property
Keywords: kb32bitonly kbprb kbctrl KB169772