Hi guys,
I have several B4XPlusMinus controls in my activity. I want to use a FOR..NEXT loop to populate the values. What I do is in the following code:
For Each V As View In Activity.GetAllViewsRecursive
If V Is B4XPlusMinus Then
Dim PM As B4XPlusMinus=V
PM.SetNumericRange(0,255,1)
End If
Next
Unfortunally, the code, as is, doesn't work.
I know the error is in the 3rd line (Dim PM as ...), is there another way to cast the View as B4XPlusMinus?
Thanks in advance