I'm looping through items in the B4X CustomListView.
B4X:
Dim index As Int = lstCRUD.GetItemFromView(Sender)
Dim pnl As B4XView = lstCRUD.GetPanel(index)
For Each v As B4XView In pnl.GetAllViewsRecursive
Select Case v.Tag
Case "txtFieldName"
nField = v.text
nrecord.put("FieldName",v.Text)
Case "chkEnabled"
nrecord.Put("Enabled", jMash.iif(v.Checked=True,"1","0"))
Case "cboComponent"
Dim cbo As ComboBox = v
nrecord.put("ComponentType",cbo.value)
Whilst the text and checkboxes are being parsed well to return .text and .checked, I had to define a combobox first then assign it to a B4XView for it to return my value as there is no .value property for B4XView.
Is it by design that its left out and that we have to define temporal comboboxes first to read the b4xview or perhaps my impatience?
Noted with thanks, I just thought because there was a .Text property and .Checked property where the B4XViews were TextField and CheckBox respectively, there would be a .Value property for the B4J combobox.