Get parent reference when pressing a button in a Widget Blueprint

Hello,
I let out the information of an array, create several horizontal boxes and fill them with texts and buttons.

Well, for example, I would like that when pressing the delete button the horizontal box is deleted. I already connected the OnClickEvent to the buttons, but my problem is that I can not hand over the references. Maybe someone has a tip for me.

231830-pic3.jpg

I would create a custom widget instead of an horizontal box and populate them in a scrollbox, then each custom widget will reference to self so just use a remove from parent

Or if you want to keep it like this use a set visibility, collapsed but it won’t clear your values itself, but I don’t know how you populate thoses.

great thanks,
sometimes you just do not get into the simplest things. thats how it works.
Thanks