I am creating a custom control and I need to be able to collect an array of names and for each name an array of options as a property. One way I thought I could do it was to create a structure, but when the collection dialog comes up I click add but value is the only option and it's grayed out. How can I go about doing this?
Here is what I tried
VB Code:
Public Structure TheStructure Public AName as String Public ANameOptions() as String End Structure Private _TheCollection() as TheStructure Public Property TheCollection as TheStructure() Get Return _TheCollection End Get Set(ByVal Value As TheStructure()) TheCollection = Value End Set End Property




Reply With Quote