En una aplicación e generado un spinner y por defecto aparece un radio button indicado el item seleccionado cuando se despliega.
Lo hice en otra aplicación y no me aparece.
Hi
I want to put a spinner inside my activity so that when the user touches the spinner, he can prioritize typing and searching among the options available in the spinner.
How can I change a spinner item by item index (not selected item/index)
MySpinner.Add("a")
MySpinner.Add("b")
MySpinner.Add("Z")
MySpinner.Add("d")
MySpinner.Add("e")
MySpinner.Items(2)="c" '<--
At the request of my friend @Mashiane , I created a combobox that has the graphics of my IconTextView that is Multiplatform (B4X, B4J, B4i)
NOTE: You can use this library for personal and commercial use. Include it in your projects.. Attention, even if it is a B4XLib library, it is not allowed...
Hello, i tried to found this in forum, but i could not find a spinner like in the image. Is there a custom view of this, like iOS spinner? Wich is the best way to do this?
Thanks.
Hallo!
ich habe eine simple Combobox (Spinner Object) definiert und kann dort problemlos eine Liste mit einzeiligen Texten laden. Eigentlich würde ich gerne zweizeilige Texte in der Combobox anzeigen, in etwa so wie in ListView mit AddTwoLines (Text1, Text2). Gibt es für die Spinner View eine...
SD_Selector
Author: Star-Dust
Version: 0.05
fourSelector
Events:
ChangeValue (nSelector As Int, Index As Int)
CenterClick
Fields:
mBase As B4XView
Tag As Object
Functions:
Class_Globals As String
DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
Base type must be...
hi, i have created an app to turn off a relay.
I have a problem, I need a spinner to be able to put a display name and run a different one.
I explain, I have two activities, one is called settings and the other is main.
In configuration I put the ip addresses to which I execute a command. The...
So far it's known that we can't center align a spinner text.
What I'm sharing now is a workaround that doesn't a perfect alignment but at least minimises the problem.
The trick is changing the spinner left padding based on the item(text) width.
The text is measured using Canvas.
X is the item...
Version: 1.5
Name: IOSspinner
Language: B4A
(C) TechDoc G.Becker, Royalty Free for personel and commercial Use only for Forum Members.
IOSspinner is a custom control with designer support.
The control mimicks the spinner used by IOS/Apple. The controls features are:
simply to use
simply to...
Hello Do We Have A Chance To Improve The Spinner Control?
Example .Net Combobox or Devexpress Lookupedit or Devexpress Comboboxedit.
The simplest Spinner.text="123456" does not exist.
Thanks.
Hallo!
Ich lerne gerade B4A und übe mich in verschiedenen Themen. Heute versuche ich eine simple ComboBox:
Sub Globals
Private ComboBoxDays As Spinner
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim Days() As String
' Fill list with text
Days = Array As String("Sunday"...
Hello All!
As a beginner I'm going to test and understand different views at the moment. This time I tried to create a simple ComboBox (Spinner).
Sub Globals
Private ComboBoxDays As Spinner
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim Days() As String
' Fill list with text...
Hi Everyone!
I've a problem with spinner content as you can see label was drawed bad.
The items/label are sized based on text content, the problem is that doesn't manage click (on black portion).
Doesn't work for example on Huawei MediaPad T5 Android 8.0
Someone have any suggestion
Thanks...
Salve
Sono nuovo qui, e gia mi trovo in difficoltá con lo spinner.
Creare un array va bene per visualizzare una piccola lista in uno spinner, ma se volessi importare una lista grande da un file di testo come dovrei fare?
spinner1.addall(mialist) , ma in questo caso mialista e' un file di...
I use a spinner on an android layout and have changed the background color. It works, but only on (some) huawei phones i get the effect, that only the with text filled part has this color, the rest is in white. On all other mobiles i have checked the whole control is filled with the back color...
Being able to set view properties by collection is so useful. I have a tablet application that has a complicated interface containing many spinners to set parameters. It would be very useful to set properties like this..... Instead by many single lines of code....
For Each V As View In...
Hi Everyone!
I've a problem: like you could see in the attached image, the item list of my spinner looks very strange.
The items are with background color white but if the item is shorter than the spinner width than the rest background is black!
I've also set the spinner Backgroundcolor to white...