S
Sid Price
I need to have a class variable retain its value between destruction of the
object and the next construction. I have declared the variable:
Public Shared mLastTabID As Int32 = 0
In the "New" method of the class I attempt to access this variable and use
it, however it always has the value "0", even though it is getting set
during the life of the (previous) object.
Is my understanding of shared variable wrong? If so, what is the correct way
to achieve this?
Thank you,
Sid.
object and the next construction. I have declared the variable:
Public Shared mLastTabID As Int32 = 0
In the "New" method of the class I attempt to access this variable and use
it, however it always has the value "0", even though it is getting set
during the life of the (previous) object.
Is my understanding of shared variable wrong? If so, what is the correct way
to achieve this?
Thank you,
Sid.