- Dec 12, 2022
- 357
- 2
If I start a receiver to fire every hour....
B4X:
how can I test that it has been started?
I tried ispaused(myReceiver) but that returns True whether I've done the above code or not (makes sense).
I could add a Boolean called Started in the receiver and keep careful tabs on whether it returns true of false but that means I have to explicitly set it. Is there a way I'm missing?
Also if the receiver has actually been set, can I cancel it? Again I could get it to be skipped using the boolean value but is there's an easier way...?
TIA
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
how can I test that it has been started?
I tried ispaused(myReceiver) but that returns True whether I've done the above code or not (makes sense).
I could add a Boolean called Started in the receiver and keep careful tabs on whether it returns true of false but that means I have to explicitly set it. Is there a way I'm missing?
Also if the receiver has actually been set, can I cancel it? Again I could get it to be skipped using the boolean value but is there's an easier way...?
TIA
برای دیدن لینک ها باید ثبت نام کنید