Hi
I'm looping through items in the B4X CustomListView.
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?
Thanks.
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?
Thanks.