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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Override the Button Enable and Visible

Status
Not open for further replies.

adalli

Programmer
Feb 8, 2005
44
MT
Hi,

I am trying to create a class which inherits a button. The purpose is to override the Enable and Visible properties.

It seems that you can't override these two propeties. It this true?

Many thanks in advance
 
Use Shadows to hide the base property:
Code:
    Public Shadows Property Enabled() As Boolean

        Get

        End Get
        Set(ByVal value As Boolean)

        End Set
    End Property
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top