Android Question For Each label in Panel question

DIB

New Member
Hi,

i have a really silly question but i'm not able to find a solution.

I have been looking in other threads and i know that if i want to make for each label in panel would be somthing like this:

B4X:
For Each v As View In pnl.GetAllViewsRecursive
        If    v Is Label Then
            'do something
        End If
Next

pnl is the name of the panel, but when i write the for each i get this error: "Declaracion actual no concuerda con la anterior". Any ideas?

sorry about my english level
thanks
 

DIB

New Member
Thanks Erel, v was a file that i use to declare global variables... :rolleyes:if i put another letter it works perfectly!
 
Upvote 0
Top