XUI. Msgbox2Async (Message As CharSequence, Title As CharSequence, Positive As String, Cancel As String, Negative As String, Icon As BitmapWrapper) As ObjectShows a non-modal Msgbox.Returns an object that can be used as the sender filter parameter for the Msgbox_Result event. Message - Dialog message. Title - Dialog title. Positive - Positive button text. Pass an empty string to remove button. Cancel - Cancel button text. Pass an empty string to remove button. Negative - Negative button text. Pass an empty string to remove button. Icon - Dialog icon. Pass Null to remove. Does nothing in B4i. Example: Dim sf As Object = xui.Msgbox2Async("Delete file?", "Title", "Yes", "Cancel", "No", Null) Wait For (sf) Msgbox_Result (Result As Int) If Result = xui.DialogResponse_Positive Then Log("Deleted!!!") End If B4J Question Close xui.MsgboxAsync or xui.Msgbox2Async with code - Chris2    Mar 8, 2024 Based on @Erel's code here....
xui.MsgboxAsync & xui.Msgbox2Async don't....Msgbox2Async("Question?", "Title", "Yes", "Cancel", "No"... B4A Question Cancelable parameter in xui.Msgbox2Async - asales    Apr 6, 2022 I'm starting to change my MsgBox2Async calls to xui.Msgbox2Async but I don't saw the Cancelable parameter.
Is possible to close the xui.Msgbox2Async with the back key?
Thanks in advance for any tip.... B4A Question XUI MsgBox2Async problem - Alberto Michelis    Dec 12, 2018 = xui.Msgbox2Async("Confirma salida?", "Apagando...", "Si", "... and XUI
Sub Activity_KeyPress (KeyCode As Int) As Boolean
Select KeyCode
Case KeyCodes... B4J Question xui.Msgbox2Async message font size - Erel (first post)    May 21, 2023   (1 reaction)
My suggestion is that you create your own msgbox
Use B4XDialog. Cross platform and fully customizable.... B4J Question (Solved) Xui.Msgbox2Async (User presses "X") - LGS (first post)    Jul 8, 2022 I found an option:
I read that pressing the "X" icon is equivalent to pressing the Cancel button
https://www.b4x.com/android/forum/threads/on-closing-xui-msgbox2async-without-response.117910/post-737808
So, I show only the Cancel button with the text "Ok"
If the user presses the "X" icon or the cancel button, in both cases Msgbox_Result will return xui... B4J Question [SOLVED] [B4J] [B4X] how do I set an icon? in xui.Msgbox2Async //javafx.scene.image.Image - a6000000 (first post)    Oct 22, 2020 :
-
-
//sorry, this is not easy to find in the forum
And now, I hope, someone can make icon on xui.Msgbox , ?
101889
'xui.Msgbox2Async(msg strg, title strg,
'... dialog-icon javafx.scene.image.Image or Null)
xui.Msgbox2Async(msg, "","... B4J Question On closing xui.Msgbox2Async without response - SeaBee    May 18, 2020 As Object = xui.Msgbox2Async("Number = " & Round(RowData.GetValueAt(0)) & "...", "Discard", Null)
Wait For (MB2A) MsgBox_Result (Result As Int... B4J Question How to - XUI.Msgbox2async "more options"? - Harris (first post)    Mar 8, 2019 show a message box with result...
Msgbox2Async("File Name: "&fn&CRLF&CRLF...",Null, True)
Wait For Msgbox_Result (Result As Int)
If Result = xui... Games [XUI2D] Example Pack - Erel    Oct 2, 2022   (33 reactions)   tags: example games, XUI2D Games Updated thread based on X2 v2.0+: https://www.b4x.com/android/forum/threads/xui2d-x2-v2-0-2021... is not 100% up to date. It was created before the X2 library was available. All the X2 modules are now packed as a single b4x lib. 300267245 The examples pack is a single zip with all the XUI2D examples... following a path - Angry birds example - Space Shooter - Tetris - X2 Source Code Video tutorial... commercial purposes. Download link: https://github.com/AnywhereSoftware/X2/archive/refs/heads/main... B4A Tutorial [B4X] Features that Erel recommends to avoid - Erel    Dec 6, 2023   (88 reactions) B4XFloatTextField fx (and others) -> XUI MsgboxAsync / Msgbox2Async / (B4i) Msgbox -> XUI.MsgboxAsync / XUI.Msgbox2Async CallSubDelayed to signal a completion of a resumable sub -> As ResumableSub....84821/#content DoEvents / Msgbox -> DoEvents deprecated and async dialogs (msgbox) All kinds... JobDone -> Wait For (j) JobDone: OkHttpUtils2 with Wait For Sub Smtp_MessageSent (and others) ->....GetSafeDirDefaultExternal Truth is that you shouldn't use both of them and use XUI.DefaultFolder instead... Page: 1   2   3   4   5   6   7   |