Download

Select a widget in a scrollbox

Hi,

I was wondering if there’s a way to select a widget in a scrollbox when I click on it like in the pic below (I’d like to be able to select the whole row)

5dde4a5d4255663a593040c209b7c30d7d241d37.png

I found a way round by putting a border and binding OnMouseBtnDown to a highlight function.

What I have been doing is dynamically generating my scrollbox items with code, through the use of another widget that I spawn and add to said scrollbox as a child. With that, you would have full access to the code of that child widget.