W
Wayne
How do you pass an object reference to a property during design? In
other words, I would like to type the name of the object in on the
properties window and then use that object to do neat stuff.
See my code below. This is just experimental code but when I add
testit to my form then the Wayne property is grayed out.
Public Class testit
Inherits TextBox
Private m_Wayne As Object = New Object
<Browsable(True)> _
Property Wayne() As Object
Get
Return m_Wayne
End Get
Set(ByVal Value As Object)
m_Wayne = Value
End Set
End Property
End Class
other words, I would like to type the name of the object in on the
properties window and then use that object to do neat stuff.
See my code below. This is just experimental code but when I add
testit to my form then the Wayne property is grayed out.
Public Class testit
Inherits TextBox
Private m_Wayne As Object = New Object
<Browsable(True)> _
Property Wayne() As Object
Get
Return m_Wayne
End Get
Set(ByVal Value As Object)
m_Wayne = Value
End Set
End Property
End Class