I've started using class modules, and admittedly is quite inexperienced in this particular area, and there is one thing I can't seem to wrap my head around.
Part of the code is the property StartHeight. Get and Let shown below:
At another point in my code I want to use:
Which works fine, but I would prefer to make the property a private property, but If I do that, I can no longer use the above syntax.
In short my question:
Can I make a property private, so that I can only manipulate it from within the class, but still retain the ability to use
Part of the code is the property StartHeight. Get and Let shown below:
Code:
Public Property Let StartHeight(intValue As Integer) pIntStartHeight = intValue End Property Public Property Get StartHeight() As Integer StartHeight = pIntStartHeight End Property
Code:
Me.StartHeight=500
In short my question:
Can I make a property private, so that I can only manipulate it from within the class, but still retain the ability to use
Me.
Comment