Hi there
I'm struggling with some element events, please if one can, can they explain the following for more clarity on my side? Thanks
1. I'd like to delete all existing events for an element and re-assign others, how can I do so?
2. The method below, does it replace the 'click' event for the element or appends a click method to existing events for the element?
3. Do events linked to elements get deleted when the 'body' is replaced with other elements?
Ta!
I'm struggling with some element events, please if one can, can they explain the following for more clarity on my side? Thanks
1. I'd like to delete all existing events for an element and re-assign others, how can I do so?
2. The method below, does it replace the 'click' event for the element or appends a click method to existing events for the element?
B4X:
Dim elm As BANanoElement = BANano.GetElement(sKey)
elm.HandleEvents("click", EventHandler, sEvent)
3. Do events linked to elements get deleted when the 'body' is replaced with other elements?
Ta!