stanlyonhack Member Aug 3, 2020 #1 I wish I could invoke an event from another event, example: To remove an element from a CustomListView I use the event of this object B4X: Sub CustomListView_ItemClick (Index As Int, Value As Object) CustomListView.RemoveAt (Index) End Sub Now my question is how can I invoke this event from the click of a button?
I wish I could invoke an event from another event, example: To remove an element from a CustomListView I use the event of this object B4X: Sub CustomListView_ItemClick (Index As Int, Value As Object) CustomListView.RemoveAt (Index) End Sub Now my question is how can I invoke this event from the click of a button?
DonManfred Expert Licensed User Longtime User Aug 3, 2020 #2 You can create a button click sub and call CustomListView.RemoveAt (Index) here. Where is the problem? Upvote 0
You can create a button click sub and call CustomListView.RemoveAt (Index) here. Where is the problem?