求教大佬
下面这种
UserControl.Item(n).Caption
UserControl.Item(n).Visible
等等要怎么用代码来实现?
我在用户控件里Public了一个Item的Type和一个数组
类似这样
public Type MyItem
Caption as string
Visible as string
end Type
dim ItemList() as MyItem
public property Get Item(byval Index as long) as MyItem
'...
end property
我现在不懂这样的属性要怎么保存和读取,我想实现类似StatusBar这样的功能
恳请指点
下面这种
UserControl.Item(n).Caption
UserControl.Item(n).Visible
等等要怎么用代码来实现?
我在用户控件里Public了一个Item的Type和一个数组
类似这样
public Type MyItem
Caption as string
Visible as string
end Type
dim ItemList() as MyItem
public property Get Item(byval Index as long) as MyItem
'...
end property
我现在不懂这样的属性要怎么保存和读取,我想实现类似StatusBar这样的功能
恳请指点


