B4J Question Pane Click Event

ilan

Expert
Licensed User
Longtime User
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
    1.8 KB · Views: 150

DonManfred

Expert
Licensed User
Longtime User
try to consume the event in the first event
B4X:
EventData.Consume
 
Upvote 0
Top