I have a customview inside clv which I want to change property of.
I tried following method without any success:
Note:
it fails on line with hi.text with following error
java.lang.RuntimeException: Field: ba not found in: anywheresoftware.b4a.BALayout
Can someone help on what am I doing wrong?
Thanks!
I tried following method without any success:
Note:
Target panels have "Target" in tag
Highlight is name of custom view which has a .text property too
Panels can have multiple items including or excluding highlight
B4X:
For Each pnl As Panel In CLVMain.GetBase.GetAllViewsRecursive
If pnl.Tag = "Target" Then
For Each hi As Highlight In pnl.GetAllViewsRecursive
hi.text = "Changed"
Next
End If
Next
java.lang.RuntimeException: Field: ba not found in: anywheresoftware.b4a.BALayout
Can someone help on what am I doing wrong?
Thanks!