Canvas with a big image is used in a window, the image is scrolling either with the mouseWheel or with the cursors. This works ok.
A listbox is in the same window, when clicked to select a line the focus goes to the listbox and then the key for scrolling don’t work anymore until you click on the canvas again to set the focus there.
I added in the keyDown event in the listbox
This works ok, but the first keydown is lost.
In fact the window has several lists and I would like that the keyDown events are always processed by the canvas.
Is there a way? Sure it should be, but I cannot found right now.