B4J Question [BANano] [SOLVED] How to handle Type Lists AddAll? - Mashiane    Mar 17, 2021 .
However, as soon as I execute this call..
tblA.styles.lineColor.AddAll(Array As Int (44, 62, 80...Ola
In a class module I have defined a type.
Type StylesObj (font As String, lineWidth As Double, lineColor As List)
Public styles As StylesObj
On the class Initialize method the type...
tblA.styles.lineColor.Add(44)
tblA.styles.lineColor.Add(62)
tblA.styles.lineColor.Add(80... B4A Question Cannot list.addall using string variable - Erel (first post)    Feb 17, 2013 s is a string. Calling Array As String(s) only wraps it in an array.
The correct code:
List1.AddAll(Regex.Split(",", s))
... Wish Map.AddAll & List.Swap functions I'd like to see implemented - Widget    Sep 5, 2016 Map1.AddAll(Map2) I don't know why Map doesn't have a built-in AddAll method like List has, to assign the key/values pairs of Map2 to the existing key/values of Map1. Although this is easy enough to do in code, I think it should be part of the language. 'Assign the aMapFrom key/values... MapAddAll(aMapFrom As Map, aMapDest As Map) If aMapFrom.IsInitialized Then...)) Next End If End Sub List1.Swap(x,y) or Array1.Swap(x,y) or Map1.Swap(x,y) This is easy enough to... B4J Question Compare two lsist based on a list specified value - Daestrum (first post)    Apr 30, 2025   (1 reaction) Not going to work
SearchList.AddAll(Array As Int("2", "33", "C19"))
C19 is not an Int
change to
SearchList.AddAll(Array("2", "33", "C19"))... B4A Question auto declare inline variable/object - ilan    Oct 19, 2021   (2 reactions) i would like this to work without declaring the object newlist
newlist.As(List).AddAll(l...
newlist.AddAll(l)
Log(newlist.Size)
inside subs it should not be to difficult to implement it right... B4A Library [B4X] [XUI] xCustomListView - cross platform CustomListView - Erel    Dec 24, 2023   (46 reactions)   tags: CustomListView, xcutomlistbox card, xuiCLV, CUSTOMLIST, Erel, XUI xCustomListView is an implementation of CustomListView based on XUI library. It provides all the features... of 'clv2.Add(CreateListItem($"Item #${i}"$, clv2.AsView.Width, 160dip), $"Item.../forum/threads/98252/#content CLVHeader - (B4X) - Adds a nice animated header to the list: https...Update: As several other libraries depend on xCustomListView library, it is no longer recommended to use the code module. Use the library instead. There are several extension classes that add more... B4A Code Snippet SaveAs - Let the user select a target folder + list of other related methods - Erel    Nov 1, 2024   (46 reactions) B4A + B4i example: https://www.b4x.com/android/forum/threads/b4x-texteditor-save-and-load-external-files.132731/#post-838166 List of classes or libraries that can be used to access secondary storages: ContentChooser (Phone libray) - allows the user to select a resource or file using external... a folder, your app can read and write from that folder. Doesn't require any permission. Not all....AddCategory("android.intent.category.OPENABLE") intent.PutExtra("android.intent.extra... B4A Question Howto add a "type record" in a list ? - LucaMs (first post)    Oct 28, 2023
myList.AddAll
I don't like AddAll; this will limit the use of the List.... B4A Question [Solved] Job.GetString to List - drgottjr (first post)    Aug 30, 2024   (2 reactions) i don't fully agree with the selections on the list, but i would use regex.split() and list.addall(). i'm guessing the string uses crlf (or possibly "\r\n", depending). so split the string on crlf to get an array of strings and then create a list and call addall. dim result as string = job.getstring dim films() as string = regex.split(crlf, result) dim filmlist as list filmlist.addall( films ) or save the string and read back in as a list...... B4i Question Merge two String Arrays - JordiCP (first post)    Mar 10, 2025   (1 reaction) Since B4I byteconverter's arrayCopy seems to be limited to bytes, this can be a nice replacement (only tested in debug mode) Dim array1() As String = Array As String("1","2","3","4","5") Dim array2() As String = Array As String("6","7","8") Dim array3() As String array3.As(List).AddAll(array1.As(List)) array3.As(List).AddAll(array2.As(List)) For k=0 To array3.Length-1 Log(array3... Page: 1   2   3   4   5   6   7   |