how to get selected entry in scrollbox?

Don’t make entries buttons, make each entry a user widget and then add those to the scrollbox. This way each widget can have its own variables and know what data it holds. You can then dispatch the info to the owning container or any other entity that is interested.

This would also allow you to manipulate those entries dynamically, in case something is added to or removed from the list.

1 Like