B b4auser1 Well-Known Member Licensed User Longtime User May 28, 2017 #1 How to implement Msgbox2Async with B4i ?
E elpic76 Member Licensed User Longtime User Mar 4, 2020 #2 Hi, I'm facing the same problem, is it possible to know how you solved it? In particular if it is possible to include an image in a msgbox2 how to do? Best Regards Upvote 0
Hi, I'm facing the same problem, is it possible to know how you solved it? In particular if it is possible to include an image in a msgbox2 how to do? Best Regards
Semen Matusovskiy Well-Known Member Licensed User Mar 4, 2020 #3 Hi, I'm facing the same problem, is it possible to know how you solved it? Click to expand... B4i Msgbox2 in general works like B4A Msgbox2Async. The dialog is not a modal. For example, Msgbox2("Msg", "Do you want to do delete document?", "Title", Array ("Yes", "No")). To retrieve the answer, you can use Wait For Msg_Click (ButtonText As String) or separate subroutine Private Sub Msg_Click (ButtonText As String) ... End Sub B4A Msgbox2Async has special parameter - Icon B4I Msgbox2 doesn't have similar parameter. Nothing terrible. If you need simple alert, Msgbox2 is enough. If you want really custom message, create a Panel with own elements. Upvote 0
Hi, I'm facing the same problem, is it possible to know how you solved it? Click to expand... B4i Msgbox2 in general works like B4A Msgbox2Async. The dialog is not a modal. For example, Msgbox2("Msg", "Do you want to do delete document?", "Title", Array ("Yes", "No")). To retrieve the answer, you can use Wait For Msg_Click (ButtonText As String) or separate subroutine Private Sub Msg_Click (ButtonText As String) ... End Sub B4A Msgbox2Async has special parameter - Icon B4I Msgbox2 doesn't have similar parameter. Nothing terrible. If you need simple alert, Msgbox2 is enough. If you want really custom message, create a Panel with own elements.