sleep(0)

  1. G

    Bug? [B4A] Instructions following Wait For are not executed when Sleep() has been called in same Sub

    Summary: In a B4A class, I need a Sub to execute, among other instructions, Sleep() and then a Wait For (a long task), but subsequent lines of code are never executed; removing the Sleep() is not an option (doing so, instructions are executed as expected). Reproduction Steps: Install and...
  2. MitchBu

    Android Question Sleep(0) unexpected side effects, instead of DoEvents

    In my code, I have this loop, which runs until the user has entered his name and password: Do While DialogComplete = False DoEvents Loop Immediately after that, I fill the menus. But I don't want that before the proper login has taken place. Following recommendations, I...
Top