Container control overlays listbox

Hi all,

I have a container control with a few buttons overlaying a listbox, half of the listbox is visible. If I click on the container control, not the buttons, the underlying listbox row get’s selected. Transparent option is not selected on the container control.
Is that a bug or a common behavier ?
how can I get around it !!!

How are we supposed to help you without screenshot or an example? Windows, macOS or Linux? Which version of Xojo?

you can return true in the mousedown event of the container this way it won’t be given to the control behind it.

on MacOS, Xojo 2020.2

thanks Derek,

return true in MouseDown event fixed it !!!

hope I remember next time !!!

1 Like