Intercept mouse clicks from children components?


#1

setInterceptsMouseClick allow you to define if your component intercepts, and if chlidren do.

But what should be the best way for specifying a component to intercept children mouse clicks too ?


#2

i made it by following steps below in the parent component,

  • create a callback checking which component is under mouse for instance,
  • put inside a child component function
  • put this callback into a timerCallback

Solved.