M
Mike
Hi,
If I declare an enumeration such as
Public Enum EnumSomeFlags
Flag1 = &H1
Flag2 = &H2
End Enum
Public ReadOnly Property DevStatusFlags() As EnumLineSomeFlags
Get
'Do Stuff
LineDevStatusFlags = m_DevStatusFlags()
End Get
End Property
When I use the property I get the whole enumvalue. Ie
DevStatus = SomeClass.Class1.Flag1
When all I want to see is
DevStatus = Flag1
Any way to do this.
Thanks,
If I declare an enumeration such as
Public Enum EnumSomeFlags
Flag1 = &H1
Flag2 = &H2
End Enum
Public ReadOnly Property DevStatusFlags() As EnumLineSomeFlags
Get
'Do Stuff
LineDevStatusFlags = m_DevStatusFlags()
End Get
End Property
When I use the property I get the whole enumvalue. Ie
DevStatus = SomeClass.Class1.Flag1
When all I want to see is
DevStatus = Flag1
Any way to do this.
Thanks,