How do I enable the children of a Verticalbox?

Am I adding children dynamically (at runtime) to a Verticalbox.
The childrens are buttons. I want to use the on click event, and change the color on hover event.

Well, OnClick event and OnHover event does not work.
I tried to enable it, focus it… As you can see in the image.

How do I make it work?

Thank you so much!!

I can imagine the wicked laugh of the person who sets the editor’s default options. Laughing and eating popcorn while reading our suffering comments on this forum.

Fortunately there are good people out there.

Best regards!!