B4X FEED Exception in MessageBox function

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Exception in MessageBox function است. این موضوع تا کنون 40 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Exception in MessageBox function
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
40
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,593
4,508
Hi all!

Currently I am faced with this error:

برای دیدن تصاویر باید ثبت نام کنید


I simply use the BetterDialogs library from @Informatix for asking the user some logical decision in my app.

Within the library, there is a place where this is called:

B4X:

Msgbox.msgbox(ad, false);

Here ad is a AlerDialog:
B4X:

AlertDialog ad;

And b4a class Msgbox is used:
B4X:

import anywheresoftware.b4a.Msgbox;

How to trigger an exception:

When I show a messagebox with this libary and the user click on HOME button of his mobiel device, then this exception is thrown.

In my B4A code I am using try ... catch. But no effect.
In the BetterDialog I also added a try catch block .... but also no effect.

I guess, that the exception in b4a classes is not handled.

What can I do here?

Thankful for all help here.

Regards
ARTsoft

 

عقب
بالا