- Jun 6, 2020
- 11,559
- 4,422
Hello. Consider this code please:
B4X:
What I expect, naturally, is that as long as the mouse is kept held on the label, I'd get the "button still down" message every half second, but once the mouse button is released, it should stop. But, surprisingly, the loop continues. In other words, although the boolean variable "Working" is set to "false", the first event still treats it as "true", ignoring the change in its value.
* Log output: *
Button has been released
Button's still down
Button's still down
Button's still down
Button's still down
......
What's crazy is that the mechanism works fine when I test it in an empty project.
Any ideas what's happening here?
Thanks.
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
* Log output: *
Button has been released
Button's still down
Button's still down
Button's still down
Button's still down
......
What's crazy is that the mechanism works fine when I test it in an empty project.
Any ideas what's happening here?
Thanks.
برای دیدن لینک ها باید ثبت نام کنید