B4A Library [B4X] [XUI] B4XDialog - Custom dialogs - Erel    Dec 19, 2021   (21 reactions)   tags: B4X XUI B4X Dialog Custom, xui, myapp, Dialogs Edit: B4XDialogs is part of XUI Views library. Use that instead: XUI Views - Cross platform views and dialogs B4XDialog class helps with creating cross platform custom dialogs. The dialog is made... As B4XView = xui.CreatePanel("") p.SetLayoutAnimated(0, 0, 0, 300dip, 170dip) 'set... most cases it requires a bit more work as you also want to handle keyboard changes: 'B4A Sub..., NewHeight) End Sub 'B4i Sub Page1_KeyboardStateChanged (Height As Float) If Dialog.Visible Then... B4A Code Snippet [B4X] Share your B4XDialog + templates theming code - Erel    Jun 1, 2021   (7 reactions) Have you created a nice dialog based on B4XDialog? Post it here. If you have any question then start a new thread.... B4i Question B4XDialog - B4XInputTemplate crashes after pressing ok - Alexander Stolte    Oct 23, 2023 to use the input dialog:
Application_Start
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
Application_Active
Unexpected event (missing RaisesSynchronousEvents... B4A Library [B4X] [XUI] AS TimePickerDialog based on B4XDialog and AS_TimePicker - Alexander Stolte    Feb 24, 2024   (14 reactions)
Initialize (Parent As B4XView) As String
Initializes the object. You can add parameters to this method... B4J Code Snippet B4XDialog - Add keyboard handling - Erel    Apr 7, 2019   (8 reactions) This code allows the user to close the dialog with 'escape' or one of the following keys: Y, N or C. It depends on agraham's jReflection library. Sub AddKeyPressedListener Dim r As Reflector r.Target = MainForm.RootPane r.AddEventHandler("keypressed", "javafx.scene.input.KeyEvent.KEY_PRESSED") End Sub Sub KeyPressed_Event (e As Event) If Dialog.Visibl... B4A Code Snippet [B4X] B4XDialog - show with animation - Erel    Feb 24, 2020   (14 reactions) Slides the dialog from one of the sides. Sub AnimateDialog (dlg As B4XDialog, FromEdge As String) Dim base As B4XView = dlg.Base Dim top As Int = base.Top Dim left As Int = base.Left Select FromEdge.ToLowerCase Case "bottom" base.Top = base.Parent.Height Case "top" base.Top = -base.Height Case "left"... Usage example: Sub Globals Private dialog As B4XDialog Private xui As XUI End Sub Sub... B4A Question B4XDialog.ShowCustom not work in a projector with ANDROID SYSTEM using remote control. - scsjc    Dec 4, 2023 Using the B4XDialog.ShowCustom on a projector (with a ANDROID O.S.) with a remote control, it won't let me press the DialogResponse_Positive or DialogResponse_Cancel button, because the KEYS FOCUS of the projector's remote control cursor is still on the screen panel.
Is there any way to... or CANCEL of the B4XDialog.ShowCustom. ...something like RequestFocus for the B4XDialog.ShowCustom... B4A Code Snippet [B4X] [B4XPages] Nested B4XDialogs - Erel    Jun 16, 2020   (10 reactions) B4A project is attached. By default, when a B4XDialog is shown it will close other visible dialogs. This is prevented with this line: Dim rs As Object = MainDialog.ShowCustom(CustomPanel, "Ok", "", "") MainDialog.Base.Parent.Tag = "" 'this will prevent...) The other interesting thing is how to handle the back key: Sub B4XPage_CloseRequest As ResumableSub For Each d As B4XDialog In Array(SecondDialog, MainDialog) 'order is important. Should start... B4A Question B4XDialog elevation - LucaMs    Mar 27, 2022 "Having had" to study the source code of the XUI Views a bit, I noticed that, in the B4A version, the elevation of the Background panel of the B4XDialog has been set to 4dip. This is obviously a problem, if there was a View with higher elevation in the underlying layout (to avoid writing nonsense, I have experienced it, although I was practically certain). How to create this type of View, dialogs, that are certainly displayed above any other? What is the maximum elevation value... B4A Code Snippet Light Theme for B4XDialogs - arf programas    Mar 5, 2021   (11 reactions) SetLightThemeDialog(dialog As B4XDialog) dialog.BackgroundColor = Colors.White dialog.ButtonsColor... Then you can use the others codes whenever you need: Sub SetLightThemeList(list As B4XListTemplate... SetLightThemeInput(input As B4XInputTemplate) Dim TextColor As Int = 0xFF5B5B5B input..., Colors.Red) End Sub 109140 Sub SetLightThemeSearch(search As B4XSearchTemplate) Dim... Sub SetLightThemeDate(datetemplate As B4XDateTemplate) Dim TextColor As Int = 0xFF5B5B5B... Page: 1   2   3   4   5   6   7   |