Make a property have a multiline style editor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Josh Argent
    New Member
    • Dec 2010
    • 28

    Make a property have a multiline style editor

    Hi,

    I'm making this tooltip control. When the user adds it to the form I want the TooltipText property to have a large textbox editor (similar to the multiline property of the Textbox control).

    My code:
    Code:
    Private _tooltipText As String
            Public Property TooltipText As String
                Get
                    Return _tooltipText
                End Get
                Set(value As String)
                    _tooltipText = value
                    Me.Invalidate()
                End Set
            End Property
    This is what I am aiming for:


    Thanks in advanced,
    Josh.
Working...