Your problem is not clear - does the application freeze while the msgbox is displayed (which is what should happen) or after you press the response button ?
If you want the application to continue running while the msgbox is displayed - you can use a non-modal msgbox - see Message Class http://www.b4x.com/forum/additional...l-updates/24912-class-message.html#post144274 . If you set Modal to false you'll get the response in another sub.
Your problem is not clear - does the application freeze while the msgbox is displayed (which is what should happen) or after you press the response button ?
If you want the application to continue running while the msgbox is displayed - you can use a non-modal msgbox - see Message Class http://www.b4x.com/forum/additional...l-updates/24912-class-message.html#post144274 . If you set Modal to false you'll get the response in another sub.