Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3755

Passing the name of a button to a function

$
0
0

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

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3755

Trending Articles