I have 4 buttons all referencing the same click event and use "sender" to determine which button is touched. I want to click a particular one of these buttons on activity_create, but am not sure how to do it, since calling the button_click event is not tied to a particular button.
You can just set a boolean flag, then when you call the button_click sub from activity_create with setting this flag to true, you check for this flag whether is true and perform the actions that you would if the sender was this specific button. Just a thought...
I had done this in a different way.
I added a new routine to handle the button click code.
This routine gets the button tag as parameter and is called from the button_click event routine.
Then you can call this routine from elsewhere with the given tag parameter independant from the button_click event routine.