Hi!
As I am not at my trusted computer at the moment, I was hoping to get an answer from the guru's of B4A.
I am wondering if DoEvent makes events in the same Activity happen.
Let me show with some pseudo-code:
Now, my question once again;
Will the Loop stop when Button_click is being clicked beacuse the DoEvents let it happen?
If so, will the loop resume when Button_click is finnished with its purpose?
As I am not at my trusted computer at the moment, I was hoping to get an answer from the guru's of B4A.
I am wondering if DoEvent makes events in the same Activity happen.
Let me show with some pseudo-code:
B4X:
Sub A
For t = 1 to 100000
DoEvents
SomeSearchThingThatDoesntMindbeingDisturbed
next
End sub
Button_click
DoSomethingToAnVariable
end sub
Now, my question once again;
Will the Loop stop when Button_click is being clicked beacuse the DoEvents let it happen?
If so, will the loop resume when Button_click is finnished with its purpose?