Im wondering if there is a way to create a property that accepts byref controls.
Code:
Private m_labelItem As Label
Public Property LabelItem As Label
Get
return m_labelItem
End Get
Set(ByRef value As Label)
m_labelItem = value
End Set
End Property
The code above obviously doesnt work as Set and ByRef doesnt work together. Is there a way to pass along a control by referrence?