i use the following code to add a status property for the ocx which is of string type...
Public Class UserControl1
Dim a As String
Public Property Property1() As Integer
Get
End Get
Set(ByVal value As Integer)
End Set
End Property
Public Property status() As String
Get
Return a
End Get
Set(ByVal value As String)
a = value
End Set
End Property
im not able to get a combo box in the property list window ... i just get a text box where i can a type a single string of my own ,.. instead i need to provide some option like "On , OFF" values for the status property using the combo box..
please help me out ..
Public Class UserControl1
Dim a As String
Public Property Property1() As Integer
Get
End Get
Set(ByVal value As Integer)
End Set
End Property
Public Property status() As String
Get
Return a
End Get
Set(ByVal value As String)
a = value
End Set
End Property
im not able to get a combo box in the property list window ... i just get a text box where i can a type a single string of my own ,.. instead i need to provide some option like "On , OFF" values for the status property using the combo box..
please help me out ..