B4A Question [Solved] Trying to use Msgbox2Async in Activity_KeyPress - asales Oct 12, 2019 I have this code ,which I want to show the message when the user press the back button (keycode_back): Sub Activity_KeyPress (KeyCode As Int) As ResumableSub If KeyCode = KeyCodes.KEYCODE_BACK Then Msgbox2Async("Do you need to click in the button!","Interruped", "Continue", "Cancel", "", Null, True) Wait For Msgbox_Result (Result As Int) If Result <> DialogResponse.POSITIVE Then Return True... B4J Tutorial How to change location to Msgbox2Async and other customizations - Star-Dust Jul 31, 2022 (9 reactions) change location
You will surely have noticed that xui.Msgbox2Async places the alert in the center of the last form shown that depends on its Owner.
Sometimes there is a need to place it on a specific point on the screen. How to do?
Dim msg As JavaObject = xui.Msgbox2Async("Message"....RunMethod("PosDialog",Array (msg,300,300))
Wait For (msg) Msgbox_Result (Result As Int... B4J Question [Solved]How to change fx.MSGBOX_WARNING in Msgbox2Async() - Theera May 3, 2025 -------------------------------------------------------------------------------------
'new
Dim res As Object= xui.Msgbox2Async("Do...
Private Sub Button2_Click
'old
' Dim res As Int = fx.Msgbox2(MainForm, "Do... B4A Question Change color of buttons in Msgbox2Async? - jo1234 Sep 8, 2018 Hi, how can I change the buttons in Msgbox2Async? I use Erel's example https://www.b4x.com/android/forum/threads/theme-colors.87716/ to change the colors and added android:colorAccent, but did not manage to change the color of the buttons in the message box. SetApplicationAttribute(android:theme, "@style/LightTheme") CreateResource(values, colors.xml, <resources> <color name="textColorPrimary">#ff000000</color> <color name="actionbar... B4A Question MsgBox2Async in color? - Zeev Goldstein Nov 20, 2024 hi Guys,
is it possible to show msgbox2async in colors?
text color ?
background color ?
a short sample will be appreciated
thanks... B4A Question Automatically closing a "Msgbox2Async" dialog - vecino May 23, 2024 Hi, my question is if there is any way that a dialog can be closed without user intervention, for example after 10 seconds.
Msgbox2Async("Print?", "Warning", "Yes"... B4A Question Msgbox2Async why doesn't it wait - RB Smissaert Nov 26, 2018 .Color(iPromptColour).Append(strPrompt).Pop End If 'can pass Null for no icon Msgbox2Async... Wait For Msgbox_Result(iResult As Int) End If End Sub And I call this from Main like this: Sub DeleteDuplicateSQL Dim strSQL As String Dim lAffectedRows As Long Msgbox2Async("Are you sure..., 0, Null, General.bmpIcon32, True, True) End If Msgbox2Async("Are you sure to delete... the first cEvents.ShowMsg and I see the second Msgbox2Async first and the first cEvents.ShowMsg only... B4J Question Close xui.MsgboxAsync or xui.Msgbox2Async with code - Chris2 Mar 8, 2024 (1 reaction) Based on @Erel's code here....
xui.MsgboxAsync & xui.Msgbox2Async don't....Msgbox2Async("Question?", "Title", "Yes", "Cancel", "No"... B4A Question MsgBox2Async with more than 3 buttons ? - marcick Jun 12, 2023 How to implement it, like IOS ?... B4A Question Msgbox2 buttons (Msgbox2Async) - Sergey_New Jun 3, 2023 Can you please tell me how to disable uppercase in the button names for Msgbox2 (Msgbox2Async).
I used to see a way on the forum, but now I can not find it by searching for the word "allcaps... Page: 1 2 3 4 |