General information
Category:
Object Oriented Programming
Title:
Creating my class based on existing control
HI,
I tried to subclass a textbox control and I get an error telling me that I need to declare something
Here is the code
Imports System.Windows.Forms
Namespace MyCtrls
Public Class MyTxtbox
Inherits System.Windows.Forms.TextBox
End Class
End Namespace
As soon as I want to refer to MyTxtbox, vb.net is telling me "Declarartion expected". Also, intellisense in not functionning at that point (MyTxtbox. member list). What do I need to declare?
Thank you for your help,
Christian
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only