Mashiane Expert Licensed User Longtime User Jan 24, 2019 #1 Hi there 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
Hi there 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
DonManfred Expert Licensed User Longtime User Jan 24, 2019 #2 Seems this is NOT a tutorial!? This is the Tutorial forum. Upvote 0
Mashiane Expert Licensed User Longtime User Jan 24, 2019 #3 DonManfred said: Seems this is NOT a tutorial!? This is the Tutorial forum. Click to expand... We cant delete or move it hey... noted just after I posted.. Upvote 0
DonManfred said: Seems this is NOT a tutorial!? This is the Tutorial forum. Click to expand... We cant delete or move it hey... noted just after I posted..
alwaysbusy Expert Licensed User Longtime User Jan 24, 2019 #4 B4X: Sub ElementExists(elID As String) As Boolean Return BANano.GetElement(elID).Length > 0 End Sub Upvote 0