Bug? Msgbox2 Sometimes my application crashes

Jerez

Active Member
Licensed User
Longtime User
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.

B4X:
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
    bug.PNG
    85.1 KB · Views: 304

Jerez

Active Member
Licensed User
Longtime User
Use CallSubDelayed to call another sub that will then show the msgbox.

Create a sub just to show a msgbox is not a good idea, but if work - ok!
 
Top