Hi Everyone,
I tried to use CallSub to call a sub routine from inside a widget but I seem to be missing something because the toast message in the sub routine called is not being displayed.
Could you correct my coding so it will work?
Thanks.
I tried to use CallSub to call a sub routine from inside a widget but I seem to be missing something because the toast message in the sub routine called is not being displayed.
B4X:
Sub ButtonMasterControl_Click
CallSub(Main, "ToggleMasterControlButton")
If IsPaused(ChimeService) Then
rv.SetText("ButtonMasterControl", "Enabled")
Else
rv.SetText("ButtonMasterControl", "Disabled")
End If
End Sub
Could you correct my coding so it will work?
Thanks.