InputList (Items As List, Title As CharSequence, CheckedItem As Int) As Int
Shows a modal dialog with a list of items and radio buttons. Pressing on an item will close the dialog.
Returns the index of the selected item or DialogResponse.Cancel if the user pressed on the back key.
It is recommended to use InputListAsync instead.
List - Items to display.
Title - Dialog title.
CheckedItem - The index of the item that will first be selected. Pass -1 if no item should be preselected.
B4J Tutorial Msgbox / InputList - Erel    
Dec 17, 2015   
(23 reactions)/images/SS-2015-12-17_12.29.47.png
InputList:
Dim items As List = Array("Item #1", "Item #2", "Item #3", "Item #4")
Dim res As Int = fx.InputList(MainForm, items...
link: /threads/msgbox-inputlist.61461/#post-470476...
link: How could I change the icon of the message box to a custom one?...
link: hm... the InputList example doesn't work in B4J latest version as fx.InputList is a Form not...
B4A Example Inputlist with images - ilan    
Apr 13, 2018   
(18 reactions)   
tags: Inputlist with imageshi
for one of my project, i needed an input list that includes images and i was thinking of using c...
link: Thank you very much @ilan for sharing this interesting and useful code on InputListAsync and at the ...
link: Very nice example @ilan. The only thing I would change if I was doing it, is eliminate the ShortCur ...
B4A Question Inputlist in b4x - Mahares (first post)    
Mar 8, 2023   
(1 reaction)
Do you have an example of that? I want to remove the inputList
In the first post of the below link by Erel there is an example for B4XInputList and B4XDialog. If you get stuck, post your code or...
link: you have an example of that? I want to remove the inputList...
link: Ok. Solved.
This is my finaly code:
Sub GetOpcion2k(Lineas As List ) As ResumableSub
'wrap...
link: This is indeed not the best solution.
Best solution is to use B4XDialog + InputListTemplate....
B4A Question Problem with inputlist, when click freeze - scsjc    
Mar 30, 2017Sometimes after click on an item of a inputlist it freezes, log:
java.lang.NullPointerException...
idlist = InputList(mylist,"Seleccionar servidor",seleccionado)
If idlist...
link: What is calling cargaservidores?
The solution is to move the code with the InputList to...
link: Does it happen in release mode?
Yes only in Release (obfucasted)...
in Debug mode i think never hap...
B4A Question Problem with inputlist. - Eme Fibonacci    
Jul 23, 2016Sometimes after you click on an item of a inputlist it freezes and got the following error log:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get ()' on a null object reference
anywheresoftware.b4a.Msgbox at $ DialogResponse.onClick (Msgbox.java:119)
com.android.internal.app.AlertController at $ AlertParams $ 3.onItemClick...
link: Can you send code, it will be easier...
B4A Question Screen Shot of InputList - Robert Valentino    
Feb 17, 2016Is there a way to take a screen shot of an Inputlist?
I can take screen shots of everything else but when I have an Inputlist up I cannot get a screen shot of it (mainly because all everything gets focused back to the Inputlist)
Is there someone way of getting a screen shot of it?
BobVal...
link: the inputlist. Then, as the views belong to your activity, you can capture them...
Bug? InputList disappears with Android 4.4.2 - klaus    
Jun 30, 2014An InputList disappears with Android 4.4.2 when used in Activity_Create.
It works when it is called in Activity_Resume.
The attached project shows the problem the InputList is displayed a short time...
link: Anyway, I agree with LucaMs. Activity_Create is not a place for InputList and I'm even...
link: No specific message in the unfiltered Log....
link: Also works fine on Nexus 4 running Android 4.4.
Are there any relevant messages in the logs?...
B4A Question List/Inputlist Vs Listview - Roger Daley    
Nov 4, 2014Hi all,
I am trying to replace the combination of List&Inputlist with Listview but despite...
Dim p As Int
p = InputList(History,"History",-1) 'Displays list and allows...
link: List and ListView are two different things.
List is an object and ListView is a view, there is no li...
link: .
Firstly I was trying to replace the combination of List&Inputlist with Listview.
It should...
link: You can see the principle of this "global list to store things. and this list is used to build ...
B4A Question Change textsize of a InputList - vecino    
Jan 31, 2014Hello, how I can change the font size of a InputList?
Thanks and regards....
link: Ops!, Thanks :)...
link: See this link:
http://www.basic4ppc.com/android/forum/threads/inputlist-textsize.18286...
B4A Question InputList Crashes - Scantech    
Feb 22, 2013This occurs when you have inputlist shown and then rotate the screen on Android 4.2.2 Nexus 7
java.lang.IllegalArgumentException: View not attached to window manager
at android.view...
link: Any activity objects should still be on Globals, otherwise that would cause memory leaks....
link: Thanks for your help. Transferring over to Process_Global did not crash the app, however ran into o...
link: Hello NJ
I believe it is caused by AHQuickAction.
See my post
http://www.basic4ppc.com/foru...
Page: 1  
2  
3  
4  
5  
6  
7