B4A Library [B4X] XUI Views - Cross platform views and dialogs - Erel    
Nov 26, 2025   
(85 reactions)   
tags: B4X XUI Views Dialogs, xui, XUI Views dialogs. Everything is written in B4X. The source code is included inside the b4xlib file, which... - Static code module with various utility methods.
Dialogs:
- B4XDialog - A class that provides the features required to show a dialog. There are three methods to show dialogs: Show - Shows a simple dialog with text, ShowCustom - Allows you to pass a layout of your own and show it as a dialog, ShowTemplate - Shows a dialog based on a template class. See the source code for the template structure...
B4A Library [B4X] B4XPreferencesDialog - Cross platform forms - Erel    
Nov 12, 2021   
(52 reactions)   
tags: preference, B4X, builder, B4X B4XPreferencesDialog
B4XPreferencesDialog makes it easy to create dialogs with all kinds of input fields.
The main steps required to use these dialogs are:
1. Define the list of fields. The recommended way to do it is with Forms Builder... programmatically by calling SetOptions.
2. Call ShowDialog and pass the data map... (prefdialog.ShowDialog(Options1, "OK", "CANCEL")) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
PrintOptions(Options1, TextArea1)
End If
The data map...
B4A Tutorial Dialogs library 2017 - Custom dialogs and async methods - Erel    
Nov 26, 2018   
(19 reactions)   
tags: dialog, wait, B4A Dialogs V4 Lib, WaitFor, DialogsDialogs v4 is an extension to @agraham original dialogs library. It requires B4A v7+.
https://www... CustomLayoutDialog which makes it easier to develop custom dialogs.
- New ShowAsync methods for all dialogs except of CustomDialog and CustomDialog2.
The ShowAsync methods behave similar to Msgbox2Async and the other internal async dialogs: DoEvents deprecated and async dialogs (msgbox)
Example:
Dim cd As ColorDialog
Dim sf As Object = cd.ShowAsync("Choose Color", "Yes", "Cancel...
B4A Tutorial FusedLocationProvider + Resolution Dialog - Erel    
May 10, 2021   
(17 reactions)   
tags: location gps** This is the only option to enable location services from inside your app. **
Example was updated and is based on B4XPages.
Don't miss:
1. ShowResolutionDialog sub that is added to Main. It needs to be added to the activity that hosts B4XPages.
2. #AdditionalJars in Main.
3. Manifest editor addition.
https://www.b4x.com/basic4android/images/i_view64_fHopQqm7Zd.png...
B4A Library [B4X] [XUI] B4XDialog - Custom dialogs - Erel    
Dec 19, 2021   
(22 reactions)   
tags: B4X XUI B4X Dialog Custom, xui, myapp, Dialogs and dialogs
B4XDialog class helps with creating cross platform custom dialogs. The dialog is made... with MainForm.RootPane or Page1.RootPanel or any other panel you like):
Sub ShowDialog
Dim p... the content size
p.LoadLayout("CustomLayout")
Dim rs As ResumableSub = Dialog.Show...)
If Result = xui.DialogResponse_Positive Then
'do something
End If
End Sub
In... ime_HeightChanged (NewHeight As Int, OldHeight As Int)
If Dialog.Visible Then Dialog.Resize(100%x...
B4A Tutorial [B4X] Input dialogs with XUI Views - Erel    
Jan 23, 2019   
(21 reactions)   
tags: XUI library can show simple dialogs, template based dialogs and custom dialogs.
The example projects demonstrate the various template dialogs: https://www.b4x.com/android/forum/threads/b4x-xui-views-cross-platform-views-and-dialogs.100836/
This example focuses on B4XInputTemplate which is a template useful...) 'AllowDecimals, AllowNegative
Wait For (dialog.ShowTemplate(input, "OK", "", "CANCEL")) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
Dim res...
B4A Tutorial DoEvents deprecated and async dialogs (msgbox) - Erel    
May 28, 2017   
(26 reactions)   
tags: wait, UI implementation as the modal dialogs implementation, is a low level implementation. It accesses... not responding) dialogs. Note that this is also true for the modal dialogs (such as Msgbox and..., DoEvents is still there and existing applications will work exactly as before.
Dialogs
Modal dialogs = dialogs that hold the main thread until the dialog is dismissed.
As written above, modal dialogs... dialogs instead. Using Wait For it is really a simple change:
Instead of:
Dim res As Int = Msgbox2...
Tool [B4X] Forms Builder - Designer for B4XPreferencesDialog - Erel    
Sep 22, 2019   
(37 reactions)   
tags: Forms Builder, B4XPreferences, Designer, preferance form builder that helps with building templates for B4XPreferencesDialog: https://www.b4x.com/android/forum..., "Example.json"))
Click on the monitor icon to see the preferences dialog.
Updates
V1.66... B4XPreferencesDialog v1.65.
V1.50 - Support for two new field types added to B4XPreferencesDialog v1.50... - Support for light themes. Make sure to also update B4XPreferencesDialog to v1.30.
Make sure to download the latest version of B4XPreferencesDialog: https://www.b4x.com/android/forum/threads...
B4A Library [B4X] [XUI] AS TimePickerDialog based on B4XDialog and AS_TimePicker - Alexander Stolte    
Jul 1, 2025   
(18 reactions)A dialog that prompts the user for the time of day using a TimePicker.
I spend a lot of time in...
144297144298
Private Sub ShowDialogDarkMode
TimePickerDialog.Initialize(Root)
TimePickerDialog.Theming.BackgroundColor = xui.Color_ARGB(255,19, 20, 22)
TimePickerDialog.Theming.ClockTextColor = xui.Color_White
TimePickerDialog.Theming.DialogButtonTextColor = xui.Color_ARGB(255,20,160,130)
TimePickerDialog.Theming.EditTextColor = xui.Color_White
TimePickerDialog.Theming...
Share My Creation B4XFlexibleDialog - A customizable, cross-platform preferences and settings UI for B4X - aeric    
Oct 19, 2026   
(7 reactions)Version 0.20
GitHub: https://github.com/pyhoon/B4XFlexibleDialog
B4XFlexibleDialog
B4XFlexibleDialog turns a JSON definition into a settings form. The same definition and committed values drive a modal dialog and an embeddable page, and the form renders on B4J and B4A from shared source. It supports text, multiline, password, number, switch, checkbox, choice, multichoice, date, time, datetime, slider, file, directory, label, action, and custom. Definitions and values stay independent of the UI...
Page: 1  
2  
3  
4  
5  
6  
7