Good morning. I have in one button, a series of operations. I would like to invoke the button’s Pressed event. Possible ? In VB6 it was called “Call Button.pressed()” , and in Xojo?
Move the code to a method called DoStff. Call that from the button.pressed and anywhere else.
You can make:
But Julian’s method is better (I think). It depends if you want that the user see the click of the button as if he clicked it himself.