in the second program in the Beginners guide is the following:
there is no calling this sub from main or other subs.
my question:
What is calling this sub other than a button click?
the guide states: only this, whichch does nor answer my question.
"Clicking on an event of a view generates the Sub frame for this event.
B4X:
Sub btnAction_Click
IfbtnAction.Text = "O K"Then
IflblResult.Text=""Then
Msgbox("No result entered","E R R O R")
Else
CheckResult
EndIf
Else
New
btnAction.Text = "O K"
lblResult.Text = ""
EndIf
End Sub
there is no calling this sub from main or other subs.
my question:
What is calling this sub other than a button click?
the guide states: only this, whichch does nor answer my question.
"Clicking on an event of a view generates the Sub frame for this event.
B4X:
Sub btnAction_Click
End Sub[/end code]
Click on to generate the references and Sub frames, then .