b4xdialog

  1. Alexander Stolte

    B4A Library [B4X] [XUI] AS TimePickerDialog based on B4XDialog and AS_TimePicker

    A dialog that prompts the user for the time of day using a TimePicker. I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal or with a coffee. :) Private Sub...
  2. MList

    Android Question B4XDialog, Button set to ""

    Error occurred on line: 214 (B4XDialog) java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Object.equals(java.lang.Object)' on a null object reference at b4a.SondeTransfer.b4xdialog._getbutton(b4xdialog.java:757) at...
  3. T

    Android Question B4XDialog crash on android 8.1

    As per title... It's crashing on dialog.TitleBar.Height = 10%y but only on my Oreo device (also test on android 10 and 13 devices) Using B4A 11.8, XUIViews library version 2.55 Dim dialog As B4XDialog Dim input As B4XInputTemplate Dim xui As XUI Dim...
  4. J

    Android Question B4XDialog title size

    Is it possible to change the font size of the B4XDialog title?
  5. W

    B4J Question B4XDialog resize not catching - what am I missing?

    When the main form is resized, I'd like the B4XDialog to be resized as well. However, I have the impression it just moves so that it remains centered on the form, and its dimensions don't change? Test project attached, and thanks in advance for any tips!
  6. LucaMs

    B4J Question [SOLVED] B4XDialog - default button

    (Most likely this should be a "wish"). How to set a default button (one of the three) so that its click event fires when Enter is pressed? Note that I tried: xDialog.GetButton(xui.DialogResponse_Cancel).As(Button).RequestFocus but it doesn't seem to work. EDIT - I found a way, to improve...
  7. W

    B4J Question [SOLVED] Exception with ListSelectionView and B4XDialog? ("Button.disable : A bound value cannot be set.")

    Hi all, I hope someone can shed some light on this one. The attached project is intended to show a B4XDialog with a layout that contains a ListSelectionView from the jControlsFX9 library (the same happens with the jControlsFX library). When clicking either OK or Cancel on the B4XDialog, this...
  8. Alexander Stolte

    B4A Library [B4X] AS FloatingPanel

    This is a simple panel that can be attached anywhere and opens with an animation. More usecases and updates to come ;) I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by...
  9. P

    B4XDialog examples

    In this app you might find some inspiration for a new dialog in your project. The dialog buttons don't take any action yet after you click or tap on them. That coding you have to do. In the 'printdialog' when you click or tap on the 'print' button then the app will try to print a html version of...
  10. W

    B4J Question [SOLVED] B4Xdialog.ShowTemplate - java.lang.reflect.InvocationTargetException

    Running the attached (very small) project from the IDE (both Release and Debug modes) works fine (B4J 9.30, OpenJDK 11.0.1). I run it using @agraham 's RunSelfNamedJarJdk11 because I don't need an installer and this keeps the footprint minimal in terms of disc space, as basically it does this...
  11. LucaMs

    Android Question B4XDialog elevation

    "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...
  12. T

    Android Question B4xDialog and B4XSearchTemplate

    Hi, Needed some Help, I wanted to have the B4XSearchTemplate on top of B4xDialog and still not close B4xDialog. I have tried but it keeps closing the B4xDialog and starts the B4XSearchTemplate. Any Help?
  13. I

    Android Question Showing a custom B4XDialog in B4XPages when pressing button

    Hi, I would like to show a custom dialog using B4XDialog when I press on a button (filter button) in B4XPages Toolbar. Someone can help me with an example? Thanks
  14. I

    Android Question Blur in B4XDialog

    Hi, I'm using B4XDialog and is working ok but when I change the BlurBackground parameter from False to True (then OverlayColor is Transparent) the background change to black. Attached the images and code dialog.TitleBarHeight=0dip dialog.BorderColor=Colors.Transparent...
  15. alirezahassan

    B4J Question how to change the titel color b4xdialog

    hi, How do I change the color of the text? it is white right now i also writhed these codes, but it was still white Dialog.TitleBarTextColor = xui.Color_Red Dialog.BodyTextColor = xui.Color_Red Dialog.OverlayColor = xui.Color_Red Dialog.TitleBarColor = xui.Color_Red And is it...
  16. rleiman

    Android Question [SOLVED] - Changing background colour of B4XDialog

    Greetings, I'm trying to change the background colour of a B4XDialog I started to use but the app crashes with this error in the logs. It crashes on the comented out line. java.lang.NumberFormatException: For input string: "(GradientDrawableWithCorners)...
  17. A

    Android Question [Solved] Passing enabled=false doesn't work for either FloatLabeledEditText or B4XFloatTextField

    Hi All, I am trying to disable access to FloatLabeledEditText which is loaded to b4xDialog, but seems nothing is working to disable the field. private email as FloatLabeledEditText diag.Initialize(barp) .... Dim p As B4XView = xui.CreatePanel("") p.SetLayoutAnimated(0, 0, 0, 90%x...
  18. red30

    Android Question B4XDialog Customizability

    InputTemplate.lblTitle.Text = "lbl text" InputTemplate.TextField1.EditTextHint="hint text" InputTemplate.RegexPattern = ("[a-zA-Z0-9]{17}")'<---optional. Remove if not needed Wait For (Dialog.ShowTemplate(InputTemplate, "OK", "", "CANCEL")) Complete (Result As Int) If Result =...
  19. A

    Android Question [Solved] B4XDialog + xcustomlistview

    Hi All, I need help using customlistview with b4xDialog. Basically I am using jRDC2 to get some data, and it works fine with also the code for the xcustomlistview (I am reusing the same code in another panel). But when I try to add the xclustomlistview items to b4xDialog, nothing shows up...
  20. M

    Android Question Make B4XDialogs not cancellable

    hi everyone, a question: Is possible to make an B4XDialog NOT cancellable by the user? Because i'm showing a loading bar in a custom B4x dialog, i want to close it by code, and not let the user to do it Thanks!
Top