Lines() like property

  • Thread starter Thread starter Josip Medved
  • Start date Start date
J

Josip Medved

How to create property that can be edited in Properties
windows similar to Lines() property of TextBox.
In short: I want multiline property that is visible during
design time.
 
* "Josip Medved said:
How to create property that can be edited in Properties
windows similar to Lines() property of TextBox.
In short: I want multiline property that is visible during
design time.

\\\
Private m_Lines() As String

Public Property Lines() As String()
Get
Return m_Lines
End Get
Set(ByVal Value As String())
m_Lines = Value
End Set
End Property
///
 
How to create property that can be edited in Properties
\\\
Private m_Lines() As String

Public Property Lines() As String()
Get
Return m_Lines
End Get
Set(ByVal Value As String())
m_Lines = Value
End Set
End Property
///

I tried that but that doesn't show in design properties... I can only edit
it at runtime...
 
* "Josip Medved said:
I tried that but that doesn't show in design properties... I can only edit
it at runtime...

Mhm... Works for me in VS.NET 2002.
 
Back
Top