Is it possible to differentiate between user clicked events and events which are fired because of program based setting?
E.g. there is a Checkbox with
If the user checks the Checkbox with the mouse, the CheckedChange event and the sub Checkbox_CheckedChange is called.
If I set
within my program, the sub Checkbox_CheckedChange ist called, too.
Is there a way to differ between both calls or better prevent the sub Checkbox_CheckedChange to be called if set within program code?
E.g. there is a Checkbox with
B4X:
Sub Checkbox_CheckedChange(Checked As Boolean)
' ... some code
End Sub
If I set
B4X:
Checkbox.Checked = True
Is there a way to differ between both calls or better prevent the sub Checkbox_CheckedChange to be called if set within program code?