Ola
So this was a response to a tweet I made that B4X always comes top!!!
Well I was forced to upgrade my laptop to win 10 after being comfortable in win7 fpr a very long time and the only reason im using a windows laptop is due to b4x.
It is a logical thing for win though due to costs...
I develop the XUI version of the ScrollView2D library that created @Informatix. I did not base myself on its code but developed everything from scratch. It is still unripe, but it works well and is not very heavy. Clearly for iOS already the native ScrollView is 2D as well as for Desktop...
SD_ElasticTrimmer
Author: Star-Dust
Version: 0.04
ElasticTrimmer
Events:
Change (Value As Int)
Functions:
DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
Base type must be Object
GetBase
Initialize (Callback As Object, EventName As String)
Invalidate
RemoveViewFromParent...
Hi, everyone, i'm coding an app, and i wanted to do it graphically catchy, so i designed my own msgBox in the designer, and i display it using the custom B4XDialog and loading the layout i did.
Now, the problem is that it doesn't aumatic handle the KeyPress Back event, so you have to do it...
Class Name TimeSwitch
'time switch
Sub Class_Globals
Type HourSettings(q1 As Boolean,q2 As Boolean,q3 As Boolean,q4 As Boolean)
Private DaySettings(24) As HourSettings '0 to 23
End Sub
'Initializes the object. You can add parameters to this method if needed.
Public Sub...
Hi. i use the input dialogs (B4XInputTemplate)
https://www.b4x.com/android/forum/threads/b4x-input-dialogs-with-xui-views.101197/
how i can change the color of dialog?(background and color of header)
thank you
AS Animated Counter
AS MsgBox
AS PinLock
AS Placeholder
AS Button Slider
AS Floating Loading Button
AutoTextSizeLabel
AS Sliding Circles (Loadingview)
AS Ripple View
AS Gradients Panel
AS Color Chooser
AS Draw
AS View Pager
Have fun :)
I want a better dialog for time input so I created this time (picker) dialog using B4X XUI Views and IME library. I think the code has too many lines. Hope someone can simplify or improve it.
Note: I haven't tested but I think this code can also work for B4i and B4J.
Update: I have tested with...
Hi,
I am trying to write XOR encoding/decoding for B4X (I need to use it as a light weight and fast encoding/decoding cross plateforme solution with B4I, B4A, B4J and Lazarus/FPC). I know XOR is not the best/strongest encryption solution but it should be ok for my needs).
The following code...
Hi Erel,
I have some suggestions about B4X and, given that for necessity I had to move away from B4A/B4I and jump ship to Ionic and soon Flutter, this is my feedback I can offer so that B4X could be a valid alternative to those environments especially for many of us who are a 1 man show and...
This is about how to exchange AES256 encrypted messages incl. generated IV (initialization vector) between a ESP32 and B4x.
Notes:
- the ESP uses AES/CBC/NoPadding. The data must be padded (must have a length which is a multiple of 16). I've used a length of 256 to to get there (instead of...
Before making a change to a shared module that I often use, I wanted to assess the projects it would impact. Windows Search is one option of course, but not one I find very practical in this case - time for B4Xxfref.
Select the folder you want analysed (subfolders are inspected as well); the...
i would like to use this without the B4X prefix always.
B4XCollections, B4XFormatter, B4XTable
something like
using B4X
dim c as Collections <- less code and better readable, better code completion at input
dim f as Formatter
or
dim c as B4X.Collections
Today March 14 (3/14) is the day of the Greek Pi ù
(https://en.wikipedia.org/wiki/Pi_Day)
3,14159 26535 89793 23846 26433 83279 50288 41971 69399 37510 58209 74944 59230 78164 06286 20899 86280 34825 34211 70679…
SD_DogLoadingIndicator
Author: Star-Dust
Version: 0.02
DogLoadingIndicator
Functions:
Class_Globals As String
DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
Base type must be Object
Hide As String
Initialize (Callback As Object, EventName As String) As String...
Download from Here
iSD_BottoMenu
Author: Star-Dust
Version: 1.6
BottoMenu
Events:
Selected (Value As Int)
Fields:
BackGroundColor As Int
Position As Int
' set or get Position
Functions:
AddMenu (CharText As String, FontName As B4XFont) As String
Class_Globals As String
Clear As String...
SD_BottoMenu (update)
Author: Star-Dust
Version: 1.6
BottoMenu
Events:
Selected (Value As Int)
Fields:
BackGroundColor As Int
Position As Int
' get or set Position
Functions:
AddMenu (CharText As String, FontName As B4XFont) As String
Class_Globals As String
Clear As String...
Download from Here
iSD_BottoMenu (Update)
Author: Star-Dust
Version: 1.6
BottoMenu
Events:
Selected (Value As Int)
Fields:
BackGroundColor As Int
Position As Int
' set o get position
Functions:
AddMenu (CharText As String, FontName As B4XFont) As String
Class_Globals As String
Clear...
With this code:
Sub LogR(s As String)
Dim joBA As JavaObject
joBA.InitializeStatic("java.lang.System")
Dim joBAF As JavaObject = joBA.GetFieldJO("err")
joBAF.RunMethod("println", Array(s))
End Sub
we can make a log entry in red color (B4J at least)
Is it possible to change the...
Based on @Erel latest B4Xlibs projects, I created this modified class from the B4XDialog source class.
With posted (expertly developed) classes, we can create anything that suits our purpose - without struggling to "get it right". Thanks @Erel - for the lesson on correctness.
The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.