how to create a misc properties for a textbox in windows forms

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • selvamariappan
    New Member
    • Sep 2008
    • 26

    how to create a misc properties for a textbox in windows forms

    Hi all,
    I am using vb.net 2008,
    how to create a misc properties for a textbox in windows forms, Please help me its very urgent..

    Regards
    selvamariappan. c
  • blowdoof
    New Member
    • Mar 2009
    • 7

    #2
    what exactly do you mean with misc properties ?

    Comment

    • aryanbs
      New Member
      • Mar 2009
      • 42

      #3
      Create inherited textbox controls and define your misc properties, build your application, you will find your control at top of tool box
      1. Add a new class, call it MyTextBox

      Code:
      Public Class MyTextBox
          Inherits TextBox
          Private _misc As String
          Public Property Misc() As String
              Get
                  Return _misc
              End Get
              Set(ByVal value As String)
                  _misc = value
              End Set
          End Property
      End Class

      Comment

      Working...