Angelo Messina Active Member Licensed User Longtime User Oct 12, 2019 #1 How do you know when an activity is finished?, to perform a sub
D DawningTruth Active Member Licensed User Oct 12, 2019 #2 Please be more specific. What is your use case? Upvote 0
Angelo Messina Active Member Licensed User Longtime User Oct 12, 2019 #3 then I throw an activity, example StartActivity (READUSR) XX = sw.ReadAll which is generated by READUSR but the next line is executed without waiting for the READUSR activity to finish Upvote 0
then I throw an activity, example StartActivity (READUSR) XX = sw.ReadAll which is generated by READUSR but the next line is executed without waiting for the READUSR activity to finish
Angelo Messina Active Member Licensed User Longtime User Oct 12, 2019 #4 I hope I expressed the concept clearly Upvote 0
LucaMs Expert Licensed User Longtime User Oct 12, 2019 #5 Use Sub Activity_Pause (UserClosed As Boolean) If UserClosed ' activity is "finished" Upvote 0
D DawningTruth Active Member Licensed User Oct 12, 2019 #6 Wouldn't it be better to use a resumable sub for this use case? Please watch the video here: https://www.b4x.com/etp.html?vimeography_gallery=1&vimeography_video=255570732 Upvote 0
Wouldn't it be better to use a resumable sub for this use case? Please watch the video here: https://www.b4x.com/etp.html?vimeography_gallery=1&vimeography_video=255570732