vecino Well-Known Member Licensed User Longtime User Jun 13, 2024 #1 Hello, from an activity you call another one that performs a process and when it finishes it closes. Is there any way for the calling activity to know that the other one finished the process it was doing? Thank you very much.
Hello, from an activity you call another one that performs a process and when it finishes it closes. Is there any way for the calling activity to know that the other one finished the process it was doing? Thank you very much.
Johan Schoeman Expert Licensed User Longtime User Jun 13, 2024 #2 vecino said: Hello, from an activity you call another one that performs a process and when it finishes it closes. Is there any way for the calling activity to know that the other one finished the process it was doing? Thank you very much. Click to expand... I seem to recall it can be done with a Public global variable.... Upvote 0
vecino said: Hello, from an activity you call another one that performs a process and when it finishes it closes. Is there any way for the calling activity to know that the other one finished the process it was doing? Thank you very much. Click to expand... I seem to recall it can be done with a Public global variable....
Alexander Stolte Expert Licensed User Longtime User Jun 13, 2024 #3 vecino said: Is there any way for the calling activity to know that the other one finished the process it was doing? Click to expand... Yes. Something like this: B4X: Copy ShowActivity Wait For Finish In the second activity then: B4X: Copy Private Sub Closed CallSubDelayed(YourFirstActivity,"Finish") End Sub Upvote 0
vecino said: Is there any way for the calling activity to know that the other one finished the process it was doing? Click to expand... Yes. Something like this: B4X: Copy ShowActivity Wait For Finish In the second activity then: B4X: Copy Private Sub Closed CallSubDelayed(YourFirstActivity,"Finish") End Sub
vecino Well-Known Member Licensed User Longtime User Jun 13, 2024 #4 Every day I learn something. Thank you, friends. Upvote 0