S
serge calderara
Dear all,
One question related to instance creation.
Does an obejvt can create instance of its own ?
I mean if I have a class named User.
If I have a function named AddUser which is a public
function of the user class, dows the following is
something good to do :
function AddUser () as User
dim m_objUser = new Me
return m_objectUser
end function
Or is it better that the new instance object is
initialised from the main application.
thanks fro your answer
regards
thnakd for your answer
One question related to instance creation.
Does an obejvt can create instance of its own ?
I mean if I have a class named User.
If I have a function named AddUser which is a public
function of the user class, dows the following is
something good to do :
function AddUser () as User
dim m_objUser = new Me
return m_objectUser
end function
Or is it better that the new instance object is
initialised from the main application.
thanks fro your answer
regards
thnakd for your answer