B4J Question xCustomListView & B4XComboBox

Revisable5987

Member
Licensed User
Is there anyway of getting a value from a B4XComboBox in a xCustomListView?

I've tried the usual method that I would use to return a value but I've never had a ComboBox in a CLV before.
B4X:
Dim pnl As B4XView = CLV2.GetPanel(index)
Dim Combo As B4XView = pnl.GetView(0)
        
If Combo.Text = "" Then

I get the following error, presumably because there is no B4X method for Returning the B4XCombo.SelectedItem?
java.lang.RuntimeException: Type does not match (class anywheresoftware.b4j.objects.PaneWrapper$ConcretePaneWrapper$NonResizePane)
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
 
Upvote 0

mangojack

Well-Known Member
Licensed User
Longtime User
Ahh now I remember ...

I read that thread a fortnight ago and bookmarked it because it would be very useful ...

Only to spend an hour this morning trying to solve @kgcarpenter 's issue before I gave up.
 
Upvote 0
Top