universengo
Member
My code is as below:
The log is
Nobody help me to fix this error.
Thanks.
B4X:
Sub txtAreaNull (txtLM As TextArea, tb As String) As Boolean
Dim tNull As Boolean = False
If txtLM.Text="" Then
fx.Msgbox(Main.MainForm,tb,"Warning!")
txtLM.RequestFocus
tNull = True
Return tNull
End If
End Sub
The log is
Not all code paths return a Value. (warning #2)
Nobody help me to fix this error.
Thanks.