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...
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...
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...
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!
(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...
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...
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...
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...
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...
"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...
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?
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
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...
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...
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)...
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...
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 =...
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...
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!