B4A Tutorial [B4X] [XUI] Msgbox - Erel    Oct 19, 2017   (23 reactions) XUI library v1.4 adds support for asynchronous msgbox dialogs. The API is simple: https://www.b4x.com/basic4android/images/SS-2017-10-19_15.27.39.png xui.MsgboxAsync("Hello", "World") The dialog is not a modal dialog. The code will not stop. MsgboxAsync and Msgbox2Async return an object that c B4A Question Best practice Msgbox2Async - Erel (first post)    Dec 06, 2023   (1 reaction) xui.Msgbox2Async. Same feature but is cross platform. B4A Question Msgbox2 buttons (Msgbox2Async) - Sergey_New    Jun 03, 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".
I would also like to know how to change the position of the buttons. B4A Question MsgBox2Async in color? - teddybear (first post)    Nov 21, 2024   (2 reactions) Try this
Dim cs As CSBuilder
cs.Initialize.Color(Colors.LightGray).Append("Hello World!").PopAll
Dim mbas As JavaObject=Msgbox2Async(cs,cs,"o","c","n",Null, True)
Dim cd As ColorDrawable
cd.Initialize(xui.Color_Blue,0)
mbas.RunMethodjo("getWindow",Null).RunMethod("setBackgr B4A Question XUI Message Box - Change Color - Erel (first post)    Sep 11, 2020   (1 reaction) XUI.Msgbox2Async directly calls Msgbox2Async. It is exactly the same.
The dialog color is based on the theme. Make sure to use a light theme:
CreateResourceFromFile(Macro, Themes.LightTheme)
For further customization, you should use B4XDialog. 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", "Title", "Yes" B4J Question [ Steam Client ] Closes the Form, but doesn't kill the application . - LucaMs (first post)    Jul 18, 2021 Dim sf As Object = xui.Msgbox2Async("Close?", "Title", "Yes", "Cancel", "No", Null)
Means it "Close the game-teste" or "close the app"? B4A Question MsgBox2Async correct use - klaus (first post)    Apr 15, 2023   (2 reactions) Be aware that when you call ModifyList(List1) in Button1_Click, the code after is executed directly after the call.
So, if you want to show the modified list you must put the code after the Wait.
Private Sub modifyList
Dim sf As Object = xui.Msgbox2Async("Modify list?", "Attention", "Yes", "", B4A Question Cancelable parameter in xui.Msgbox2Async - Erel (first post)    Apr 07, 2022   (1 reaction) While there are possible workaround, the best solution is to simply use Msgbox2Async instead of XUI.Msgbox2Async. Use conditional compilation if needed.
The best cross platform workaround is to use B4XDialog. B4A Question Automatically closing a "Msgbox2Async" dialog - Chris2 (first post)    May 23, 2024   (3 reactions) https://www.b4x.-hide.104475/post-654733
Or, if you're using xui.Msgbox2Async,
https://www.b4x.-xui-msgboxasync-or-xui-msgbox2async-with-code.159761/#content Page: 1   2   3   4   5   6   7   Powered by ColBERT |