Hello,
I have a question an I would love to have it solved. (if possible). Why is it that the watch windows show all the variables of a class and also my properties? Is there a way to avoid this?
It's very confusing I think
Private m_strName As String
Private m_strLastName As String
Private m_strSex As String
Private m_blnIsMaried As Boolean
Private m_dblIncome As Double
Public Property Get Name() As String
Name = m_strName
End Property
Public Property Let Name(ByVal strName As String)
m_strName = strName
End Property
Public Property Get LastName() As String
LastName = m_strLastName
End Property
Public Property Let LastName(ByVal strLastName As String)
m_strLastName = strLastName
End Property
Public Property Get Sex() As String
Sex = m_strSex
End Property
Public Property Let Sex(ByVal strSex As String)
m_strSex = strSex
End Property
Public Property Get IsMaried() As Boolean
IsMaried = m_blnIsMaried
End Property
Public Property Let IsMaried(ByVal blnIsMaried As Boolean)
m_blnIsMaried = blnIsMaried
End Property
Public Property Get Income() As Double
Income = m_dblIncome
End Property
Public Property Let Income(ByVal dblIncome As Double)
m_dblIncome = dblIncome
End Property
Capture.jpg
Thanks a lot for the help