Class Module Question

  • Thread starter Thread starter Doug Maddox
  • Start date Start date
D

Doug Maddox

I have a simple class module with a property X as follows:
Private cX as Integer
Property Get X() As Integer
X = cX
End Property
Property Let X(xVal as Integer)
cX = xVal
End Property

When I view an object of this class in the Locals window, both X and
cX show up as properties of the object. Is there a way to make cX
invisible to the Locals window?

Thanks,
Doug
 
Don't think so Doug, it is something that has been bugging me for years

HTH

Bob

"Doug Maddox" wrote in message

I have a simple class module with a property X as follows:
Private cX as Integer
Property Get X() As Integer
X = cX
End Property
Property Let X(xVal as Integer)
cX = xVal
End Property

When I view an object of this class in the Locals window, both X and
cX show up as properties of the object. Is there a way to make cX
invisible to the Locals window?

Thanks,
Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top