Ok heres the thing...
I am creating a text box style control. When adding a 'Text' property as a string all works well however i have created a 'lines' property as a string array and set the values at design time, if I build the solution it clears the contents
I have tried two methods of implementing this but the result is the same
Thanks in advance
Dill
I am creating a text box style control. When adding a 'Text' property as a string all works well however i have created a 'lines' property as a string array and set the values at design time, if I build the solution it clears the contents
I have tried two methods of implementing this but the result is the same
Private MyLines() As String
Public Shadows Property Lines() As String()
And...Public Shadows Property Lines() As String()
Get
Set(ByVal Value As String())
End PropertyReturn MyLines
End GetSet(ByVal Value As String())
MyLines = Value
Me.Refresh()
End SetMe.Refresh()
Private MyLines As String
Public Shadows Property Lines() As String()
anyone any ideas where i am going wrong?Public Shadows Property Lines() As String()
Get
Set(ByVal Value As String())
End PropertyReturn Split(MyLines, vbCrLf)
End GetSet(ByVal Value As String())
MyLines = Join(Value, vbCrLf)
Me.Refresh()
End SetMe.Refresh()
Thanks in advance
Dill