我想在ActiveX定义一个类似ListBox的List属性的数组属性Address,应该如何定制?Public Property Get Address(ByVal index As Integer) As String Address = m_Address(index) End PropertyPublic Property Let Address(ByVal index As Integer, ByVal New_Address As String) m_Address(index) = New_Address PropertyChanged "Address" End Property还需要写别的什么东西吗?
急!!!自编的ActiveX控件出错,高手请进来看看。(不好意思,现在最多只能给31分)(anglerchan)的问题啊!
谢谢!!!
我得VB用过sp4后
连启动都不行了!!
Address = m_Address(index)
End PropertyPublic Property Let Address(ByVal index As Integer, ByVal New_Address As String)
m_Address(index) = New_Address
PropertyChanged "Address"
End Property还需要写别的什么东西吗?