Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

how to add combobox in ocx property list

$
0
0
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 ..

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>