Amit Dahotre
October 24th, 2001, 02:08 PM
Hi all,
I want to create a ActiveX Control(.ocx) which is similar to VB Combo box but has two additional properties.
I used ActivX Control Interface Wizard and through it mapped the properties, events and methods.
but my Control does not show the List property in the Property window as it shows for the original control.
Following is the code created by the wizard to map the List property
'WARNING! DO NOT REMOVE OR MODIFY THE FOLLOWING COMMENTED LINES!
'MappingInfo=Combo1,Combo1,-1,List
public property get List(byval Index as Integer) as string
List = Combo1.List(Index)
End property
public property let List(byval Index as Integer, byval New_List as string)
Combo1.List(Index) = New_List
PropertyChanged "List"
End property
I want to create a ActiveX Control(.ocx) which is similar to VB Combo box but has two additional properties.
I used ActivX Control Interface Wizard and through it mapped the properties, events and methods.
but my Control does not show the List property in the Property window as it shows for the original control.
Following is the code created by the wizard to map the List property
'WARNING! DO NOT REMOVE OR MODIFY THE FOLLOWING COMMENTED LINES!
'MappingInfo=Combo1,Combo1,-1,List
public property get List(byval Index as Integer) as string
List = Combo1.List(Index)
End property
public property let List(byval Index as Integer, byval New_List as string)
Combo1.List(Index) = New_List
PropertyChanged "List"
End property