D drachmad Member Licensed User Longtime User Jul 10, 2013 #1 In log there is always a log: ** Activity (main) Resume ** So that there is a better way to detect it than the algorithm below. In Main Activity: Sub Process_Globals Dim bReady As Boolean End Sub Sub Activity_Resume bReady = True End Sub Sub Activity_Pause (UserClosed As Boolean) bReady = False End Sub In a Service: If Main.bReady then ... End if Thanks for any reply.
In log there is always a log: ** Activity (main) Resume ** So that there is a better way to detect it than the algorithm below. In Main Activity: Sub Process_Globals Dim bReady As Boolean End Sub Sub Activity_Resume bReady = True End Sub Sub Activity_Pause (UserClosed As Boolean) bReady = False End Sub In a Service: If Main.bReady then ... End if Thanks for any reply.
D drachmad Member Licensed User Longtime User Jul 10, 2013 #3 Hi NJDude, thanks for your prompt reply. It seem I search with wrong keyword, it should be "pause" and not "resume". It works as expected. Thanks again. Upvote 0
Hi NJDude, thanks for your prompt reply. It seem I search with wrong keyword, it should be "pause" and not "resume". It works as expected. Thanks again.