Jerez Active Member Licensed User Longtime User Jul 13, 2015 #1 Hi, i've a problem with Msgbox2. I'm using this code to show a dialog and when i answer YES or NO, some times my app exit without any error in log. Code: If Msgbox2("¿Desea transmitir los datos de su bandeja al servidor?", "Transmitir", "Sí", "", "No", LoadBitmap(File.DirAssets, "upload.png")) = DialogResponse.POSITIVE Then if i remove this line always work ok. Maybe a conflict with other library? i've attached my libs used in this project. Problem in B4x v4.X and v5.X Attachments bug.PNG 85.1 KB · Views: 507
Hi, i've a problem with Msgbox2. I'm using this code to show a dialog and when i answer YES or NO, some times my app exit without any error in log. Code: If Msgbox2("¿Desea transmitir los datos de su bandeja al servidor?", "Transmitir", "Sí", "", "No", LoadBitmap(File.DirAssets, "upload.png")) = DialogResponse.POSITIVE Then if i remove this line always work ok. Maybe a conflict with other library? i've attached my libs used in this project. Problem in B4x v4.X and v5.X
Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2015 #2 Use CallSubDelayed to call another sub that will then show the msgbox.
Jerez Active Member Licensed User Longtime User Jul 15, 2015 #3 Erel said: Use CallSubDelayed to call another sub that will then show the msgbox. Click to expand... Create a sub just to show a msgbox is not a good idea, but if work - ok!
Erel said: Use CallSubDelayed to call another sub that will then show the msgbox. Click to expand... Create a sub just to show a msgbox is not a good idea, but if work - ok!