Question, I having issues setting either a list of strings, list of structs, or a list of classes in the design time. I had a more successfully with a class, but it won't save any data. Here an ex of what I taking about:
Keep of mind that alot of these been commented out to test, but can't get any of these to work. Why is it so hard to create something this simple
Code:
Public Structure sCalculationInfo
Property Caption As String
Property Value As String
End Structure
Public Class UCPMCalculationFields
Public Class cCalculationInfo
Property Caption As String
Property Value As String
Public Sub New()
End Sub
End Class
'Private vCalculationInfo As New List(Of cCalculationInfo)
'Public Property Captions(ByVal index As Integer) As List(Of cCalculationInfo)
' Get
' Captions = Me.vCalculationInfo
' End Get
' Set(Value As List(Of cCalculationInfo))
' MsgBox(Value.Count)
' Me.vCalculationInfo = Value
' End Set
'End Property
'Public Property Items As List(Of sCalculationInfo) =
' New List(Of sCalculationInfo)
Public Property Captions As New List(Of cCalculationInfo)(3)
End Class