Click listener to a button

Last Updated:

  1. acidcromaticle

    acidcromaticle New Member This Topic's Starter

    Aug 10, 2010
    Likes Received:
    Hello, i want to know if there is a short way to do a event listener other than the folowing: I want to make a sudoku game and the boxez that are for the numbers are buttons in my aplication. I have aproximatively 90 buttons, and i made for all butons onclick events (aprox. 90 events).
    I want to know if there is a way to do a general action listener and to get from that listener the buton that has been clicked, so that i dont need to keep the 90 click events.

    Thank you very much for the help !


Share This Page