G
Guest
Hi guys,
I am using *VISUAL BASIC* in VS2005 beta 2.
I want to make a custom control that inherits the textbox control but has
some extra properties. This part is fairly simple I think (I have done it..
or at least i think i have).
The code looks something like this:
Public Class MyEditBox
Inherits System.Windows.Forms.TextBox
Private m_strDataFormat As String = ""
Public Property DataFormat() As String
Get
Return m_strDataFormat
End Get
Set(ByVal new_Value As String)
m_strDataFormat = new_Value
End Set
End Property
End Class
Is there a way I can add this to my toolbox for use at design time?
I am using *VISUAL BASIC* in VS2005 beta 2.
I want to make a custom control that inherits the textbox control but has
some extra properties. This part is fairly simple I think (I have done it..
or at least i think i have).
The code looks something like this:
Public Class MyEditBox
Inherits System.Windows.Forms.TextBox
Private m_strDataFormat As String = ""
Public Property DataFormat() As String
Get
Return m_strDataFormat
End Get
Set(ByVal new_Value As String)
m_strDataFormat = new_Value
End Set
End Property
End Class
Is there a way I can add this to my toolbox for use at design time?