ABG
2
For just 5 buttons and 5 images, you would need to init a pair of matched global lists, one of the buttons and the other of the images components.
You can use membership tests of the component triggering the generic event against the various list, or index tests.
You can also test the .Text of the button.
Here are some sample projects that use generic events: