iOS Question B4XView removeAt(index)

@LucaMs, that is, I have to convert the object back into bread and from there remove the object concerned
Another way is to use GetAllViewsRecursive and check the B4XView tag (if you set it with an identifier).
B4X: Copy
...
If MyB4XView.Tag = "..." Then
    MyB4XView.RemoveViewFromParent
    Exit
End If
...
 
Upvote 0
Tank @LucaMs

Code: Copy
    For Each n As Node In base.GetAllViewsRecursive
        If n Is Button Then
            Dim btTemp As Button = n
            If btTemp.Id = "CalendarButton" Then
                btTemp.RemoveNodeFromParent
            End If
        End If
    Next
 
Upvote 0
Back
Top