R
Rod
You know how you can use the "Me" keyword to refer to the current form? Is
there a way to do the same thing with a button?
I have a bunch of buttons and I want to pass their names to a function when
they're pressed. I don't want to have to modify each of their on_click
statements with their name but rather keep them all the same and just pass
the name to the function.
e.g.
Button_A_On_Click()
CallToFunction(ThisButtonName)
end sub
there a way to do the same thing with a button?
I have a bunch of buttons and I want to pass their names to a function when
they're pressed. I don't want to have to modify each of their on_click
statements with their name but rather keep them all the same and just pass
the name to the function.
e.g.
Button_A_On_Click()
CallToFunction(ThisButtonName)
end sub