I am using B4A 2.71
I have a class, Person. According to my understanding of the documentation, when I have an instance of Person in another module, a popup should appear for FirstName and LastName when I try to autocomplete with control/space
All I am seeing is Class_Globals, FullName, Initialize and isInitialized.
Any help/comments would be appreciated.
Peter
' Class Person module
Sub Class_Globals
Private FirstName
Private LastName
End Sub
'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize(tFirstName As String,tLastName As String,tLastLoanDate As Long)
FirstName = tFirstName
LastName = tLastName
Log("Initialized Person")
End Sub
' get the full Name
Sub FullName As String
Return FirstName & " " & LastName
End Sub
'get the FirsName
Sub getFirstName As String
Return FirstName
End Sub
'set the FirsName
Sub setFirstName(tFirstName As String)
FirstName = tFirstName
End Sub
Sub getLastName As String
Return LastName
End Sub
I have a class, Person. According to my understanding of the documentation, when I have an instance of Person in another module, a popup should appear for FirstName and LastName when I try to autocomplete with control/space
All I am seeing is Class_Globals, FullName, Initialize and isInitialized.
Any help/comments would be appreciated.
Peter
' Class Person module
Sub Class_Globals
Private FirstName
Private LastName
End Sub
'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize(tFirstName As String,tLastName As String,tLastLoanDate As Long)
FirstName = tFirstName
LastName = tLastName
Log("Initialized Person")
End Sub
' get the full Name
Sub FullName As String
Return FirstName & " " & LastName
End Sub
'get the FirsName
Sub getFirstName As String
Return FirstName
End Sub
'set the FirsName
Sub setFirstName(tFirstName As String)
FirstName = tFirstName
End Sub
Sub getLastName As String
Return LastName
End Sub