Hi,
I'm trying to develop an ActiveX control (As a Grid) and I need to access the properties of Columns in Run-time mode. Inside of the control, I have an array of a user-defined type.
Type XYZ
Name As String
Order As Integer
End Type
Dim StoreVar(10) As XYZ 'Data from 10 Columns
Property Get Col(ByVal Index As Integer) As XYZ
...
End Property
What I need is to access the name of each column like this:
MyGrid1.Col(1).Name = "XYZ"
MsgBox(MyGrid1.Col(1).Name)
Thanks
Nilson