Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

windows control library properties

Status
Not open for further replies.

Denster

Programmer
Apr 9, 2001
198
GB
I am creating my own control like the old active X control in VB6. In VB6 you could define a property bag that would show up in the properties pane at design time when the control was dropped on the form. Can this be done in VB.Net?
 
Yes. Try this
Code:
    Public Property _MyProperty() As Object
        Get
            Return MyProperty
        End Get
        Set(ByVal value)
            MyProperty = value
        End Set
    End Property
    Private MyProperty As Object

Good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top