Hi
I have a base class with the the following enum and property:
Public Enum InitType
Focus = 0
Help = 1
ErrorToolTip = 2
End Enum
Property ToolTipInitType() As InitType
Get
Return m_initType
End Get
Set(ByVal value As InitType)
m_initType = value
End Set
End Property
I would like to create a derived class which extends the enum, so the derived classes enum would be:
Public Enum InitType
Focus = 0
Help = 1
ErrorToolTip = 2
HelpPopUp = 3
End Enum
First off, how do I do this - is it by simply overloading it? And secondly will my original property pick up the new enum automatically when using the derived class or will I need to overload that too?
Any help greatly appreciated.
Thanks
Sniffer