Android Question Problems with events

CArlos13511

Member
Licensed User
Longtime User
Sorry for the translation (google translator).
The following code does not run the event. Can you help me.
 

Attachments

  • Eventos.zip
    6.6 KB · Views: 156

DonManfred

Expert
Licensed User
Longtime User
B4X:
private Sub RaisedEvent
    Log("Class.RaiseEvent")
  
    If SubExists(vModule,vEventName&"_evento") Then
        Log("Class.RaiseEvent SUB does exists")
        vData.T = 5

        CallSubDelayed2(vModule,vEventName&"_evento",vData)
    Else
        Log("Class.RaiseEvent SUB does not exists")
    End If
End Sub

Sub MM
    Log("Class.Method.MM")
    RaisedEvent
End Sub

** Activity (main) Create, isFirst = true **
Class.Method.MM
Class.RaiseEvent
Class.RaiseEvent SUB does exists
** Activity (main) Resume **
5
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
 
Upvote 0
Top