S
shapper
Hello,
I created a custom control with a TextBox.
I want to define the TextBox text when initialize my custom control
and later on an custom even get its value.
I am using a property but this is not working:
Private _Value As String
Public Property Value() As String
Get
Return tbInput.Text
End Get
Set(ByVal value As String)
_Value = value
End Set
End Property
What am I doing wrong?
Thanks,
Miguel
I created a custom control with a TextBox.
I want to define the TextBox text when initialize my custom control
and later on an custom even get its value.
I am using a property but this is not working:
Private _Value As String
Public Property Value() As String
Get
Return tbInput.Text
End Get
Set(ByVal value As String)
_Value = value
End Set
End Property
What am I doing wrong?
Thanks,
Miguel