Hi,
I'd like to convert a enum value to it's string representation. It's easy if it's a value within the enum, the problem I'm up against is that it's a combination of values....
if I have myGraph = 7 I can see in the local window
myGraph - gtLine, gtArea, gtIndication {7}
How can I get this into a string variable?!?
Dim myString as string=myGraph
TIA
/Kejpa
I'd like to convert a enum value to it's string representation. It's easy if it's a value within the enum, the problem I'm up against is that it's a combination of values....
Visual Basic:
<Flags()> Public Enum eGraphType As Integer
gtNone = 0
gtLine = 1
gtArea = 2
gtIndicator = 4
gtRadar = 8
gtPolar = 16
End Enum
if I have myGraph = 7 I can see in the local window
myGraph - gtLine, gtArea, gtIndication {7}
How can I get this into a string variable?!?
Dim myString as string=myGraph
TIA
/Kejpa