Trying to write an utility routine useful to move a B4XView from a B4XPage to another one, I found... a wall 😄:confused:
For this routine it would be necessary to obtain the base of the B4XView and also to be able to apply a specified elevation to it (please, do not answer that BringToFront is...
Hi everyone, i've a customlistview, with custom elements.
In each element there is a CircularProgressBar, i want to incremente the value of a circularprogressbar in one element.
The code to do it:
Public Sub AggiornaProgress(Data() As Object)
'0 = Progress Value
'1 = Uploaded Files...
I'm creating a hybrid app and because that using always B4XViews instead of labels and platform specific resources. In some places I need to dinamically construct the layout using runtime created arrays of views like this:
Dim lblPrice(itensQuant) As B4XView...
I am sorry if this is basic question as I am trying to grasp the transition from B4A to B4I, I am trying to assign MaterialIcon or fontawesome + text using CSBuilder.
Based on this link it should work with AttributedString, but can not find this when I am using b4xview (by button/label...
Hi everyone, my question is:
It's possibile to put a combination of Matrial Icons and Text in a button declared as B4xview?
I'm used to CSBuilder, but b4xview does not have the .AttributedText parameter :(
Thanks in advance
hi everyone, today i was coding an app and when a tried to use an B4Xview the app crashed because it was not initliazed, so i tried to do
but the ide says that the method does not exist D:
I wanted to be able to count items in an image (birds in a flock). The simple logic said load an image, and then use the left mouse click to mark each item with a coloured blob. I then made it remove the last blob with a right mouse click.
This simple program was a serious learning curve for...
HI, i m using the B4XFloatTextField control in my app.
i want to change the font of the hint text and the text of textField.
The hint text Font is changed but not the text.
myTextField.TextField.Font=xui.CreateFont(fx.LoadFont(File.DirAssets,"SOME FONT.ttf",20),20) <<NOT WORKING>>...
HI Erel ,
How I can add a search option to this CustomListView . the requirement is to filter the view according to the search text.
also how i can reduce the gap between each panel items.
sample project attached
I recently discovered B4XView and its possibilities to share code between platforms.
Though this is a great improvement, I have 1 issue that I cannot solve with my knowledge of today.
For Android I declare and initialize my controls in the activity, for iOS I do this in my page. Then I pass...
I used erel solution for snapshot an item (for example - panel) - (https://www.b4x.com/android/forum/threads/save-only-the-image-inside-the-panel.92333/#post-583937)
Dim bmp As B4XBitmap = Crop_Image(Panel1, Panel1.left, Panel1.top, Panel1.width, Panel1.height...
I designing CustomListView in my app.
I need it five different times and in five different look with other layout
I have issue with p.SetLayoutAnimated(0,0,0,60%x,35%x)
I am confuse about how to give width and height,
so is their is any way to get panel used height
also if i'm...
The title says it all
Now I use to write code like this:
Sub SetHeader(oText As Object)
Dim tText As EditText = oText
tText.Hint = Translate("Enter Values") ' defined somewhere, not important
#Else If B4i
Dim tText As TextField = oText
I have a code module (b4a) in which all the routines require variables of type B4XView as parameters.
This code module works well in b4a and b4j projects. I compiled the module to a b4a library.
Then I ran the same project (b4a) which used the code module, replacing the module with the library...
Using the XUI views I realized the need to follow the events of Touch, Drag, Click and Release in a unique way. Required XUI 1.72+
In Android I would use this command:
Sub EventName_Touch (Action As Int, X As Float, Y As Float)
In B4J I would use this:
Sub EventName_MouseDragged (EventData As...