Refresh DFrame on change

Hi,

I’m trying to make a horizontal list with button to change but i don’t find a way to refresh my DFrame containing image.

Screenshot:

Code:

if you have any idea to make it in another way i’m open :smiley:

Thanks for answering, Yazrihm.

You are not thinking it correctly, if you want that button changes the image, then you’re looking for making the button change the image, not the panel refresh
In your code i can’t really understand what are you trying to do, i would recommend you to create a DImage control on DFrame and in your buttons hooks change that control image

Nervermind i found. I just put the id in a single dframe and manag everything with this id.