Hi there
Sorry on wrong forum - this is a question
How do I check if an element exists?
Sorry on wrong forum - this is a question
How do I check if an element exists?
B4X:
Sub ElementExists(elID as string) As Boolean
dim el As BANanoElement = BANano.GetElement(elID)
if el <> Null then
Return False
else
Return True
End Sub
return ElementExists("#me")
End if