R
Rob Richardson
Greetings!
I have a module that contains the following:
Module Globals
Public thePortfolio As clsPortfolio
Public Enum OrderResult
ORDER_FAILED
ORDER_GOOD
ORDER_PENDING
ORDER_CANCELED
End Enum
End Module
I have class that contains the following property:
Property Result() As OrderResult
Get
Return m_result
End Get
Set(ByVal Value As OrderResult)
m_result = Value
End Set
End Property
I am getting an error message saying "'Result' cannot expose a Friend type
outside of the class 'clsOrder'". The help message for the error says that
I should make my type Public. But, as near as I can tell, the type IS
public!
What am I leaving out?
Thanks again!
Rob
I have a module that contains the following:
Module Globals
Public thePortfolio As clsPortfolio
Public Enum OrderResult
ORDER_FAILED
ORDER_GOOD
ORDER_PENDING
ORDER_CANCELED
End Enum
End Module
I have class that contains the following property:
Property Result() As OrderResult
Get
Return m_result
End Get
Set(ByVal Value As OrderResult)
m_result = Value
End Set
End Property
I am getting an error message saying "'Result' cannot expose a Friend type
outside of the class 'clsOrder'". The help message for the error says that
I should make my type Public. But, as near as I can tell, the type IS
public!
What am I leaving out?
Thanks again!
Rob