ilan Expert Licensed User Longtime User Oct 17, 2019 #1 hi in b4a if i have a view inside another view and that view has a click event then if i click on it the view that is below that view will not trigger his click event. for example i have panel1 and that panel1 has a click event and inside that panel1 is another view panel2 that also has a click event. now clicking on panel2 will only call panel2_click and NOT panel1_click in b4j it calls all click events. how can i prevent it? (simple example is included) thanx, ilan Attachments b4j click.zip b4j click.zip 1.8 KB · Views: 368
hi in b4a if i have a view inside another view and that view has a click event then if i click on it the view that is below that view will not trigger his click event. for example i have panel1 and that panel1 has a click event and inside that panel1 is another view panel2 that also has a click event. now clicking on panel2 will only call panel2_click and NOT panel1_click in b4j it calls all click events. how can i prevent it? (simple example is included) thanx, ilan
DonManfred Expert Licensed User Longtime User Oct 17, 2019 #2 try to consume the event in the first event Code: Copy EventData.Consume Upvote 0