Library documentation: Dialogs - v4.01 - Written by Andrew Graham B4A Library [B4X] XUI Views - Cross platform views and dialogs - Erel    Dec 12, 2023   (82 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   (50 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, Dialogs Dialogs 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   (16 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   (21 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   (19 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   (25 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   (35 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... B4J Question (Solved) Calculate CustomListView height inside the PreferencesDialog - aeric    Sep 8, 2021 How to calculate the CustomListView height inside the PreferencesDialog? I need to set the height so it is just nice not to be scrollable by mouse.... B4A Library Dialogs2 library - an update to the original Dialogs library - agraham    Oct 7, 2021   (43 reactions) Note the separate download for an updated Dialogs2 class that fixes a bug in the original. I wrote the original Dialogs library many moons ago and it has suffered with age owing to the changes made... modal dialogs are deprecated in general they are still very convenient for use with my BasicIDE.... Therefore I have taken the Dialogs v4.01 source code and updated it into a new Dialogs2 library. Every dialog, except CustomLayoutDialog now supports both Show and ShowAsync. In past editions... Page: 1   2   3   4   5   6   7   |