Is there anyway of capturing the name of the button just clicked in its OnClick event?
Obviously I know the name and so could 'hard code' it in, but I'd like to call a particular function from many different buttons within my app and I need to pass the name of the control used to that Function.
So rather than having to specify the relevant name each time I was hoping I could just capture the name as a variable and send that to the function.
Thanks.
Obviously I know the name and so could 'hard code' it in, but I'd like to call a particular function from many different buttons within my app and I need to pass the name of the control used to that Function.
So rather than having to specify the relevant name each time I was hoping I could just capture the name as a variable and send that to the function.
Thanks.