I have a listbox, and each row holds a number of components that allow the displayed contents to be edited. There is one area of blank space on the row component, and at the moment that is the only bit that responds to mouseDown(e) to allow for selection.
I understand this, and would like to know if there is a defined way of letting a component take mouse events if the children are clicked on. I’ve just discovered the ‘setInterceptsMouseClicks’ but i’m not sure if that will help, because the children need to respond in their own way too.
for instance, a label can be double-clicked for editing, but i’d like to be able to have a single click trigger the row’s “selection” function, i guess by calling the parent’s mouseDown. My thought is to just subclass a Label and override mouseDown to call the parent’s mouseDown.
does that sound like too much? seems like the most flexible option at the moment