A
active
I have the following in a usercontrol.
When I site the control on another usercontrol the designer adds
Me.RichEditControl1.TxtSelectedText = Nothing
which causes an error in the Property.
Is there anything I can do to convince the Designer to either set it to ""
or better still ignore it.
Cal
PS The properties do not show in the property grid as expected
<System.ComponentModel.Browsable(False)> _
Public Property TxtSelectedText() As String
Get
TxtText = RichTextBox1.SelectedText
End Get
Set(ByVal NewText As String)
RichTextBox1.SelectedText = NewText
End Set
End Property
When I site the control on another usercontrol the designer adds
Me.RichEditControl1.TxtSelectedText = Nothing
which causes an error in the Property.
Is there anything I can do to convince the Designer to either set it to ""
or better still ignore it.
Cal
PS The properties do not show in the property grid as expected
<System.ComponentModel.Browsable(False)> _
Public Property TxtSelectedText() As String
Get
TxtText = RichTextBox1.SelectedText
End Get
Set(ByVal NewText As String)
RichTextBox1.SelectedText = NewText
End Set
End Property