Passing the name of a button to a function

Hello,
I have a simple function to have a canvas button flik ona and of

BtnXXX.Visible = False

Timer.CallLater(300, AddressOf FlickOff)

With its “counter function” to make it visible again.

I’d like to apply this function to all the canvas buttons in a window but assigning the name to a string variable and passing it to the function doesn’t work.
How can I identify the clicked button so it flickers without having to write a function for each button?

Thank you

there is a option to give the button itself as object or a name as argument.
CallLater(afterMilliseconds As Integer, method As Timer.TimerCallLaterWithValue, value As Variant)
https://documentation.xojo.com/api/language/timer.html#timer-calllater

an interface could also be useful
https://documentation.xojo.com/getting_started/object-oriented_programming/interfaces.html