I have created a ListPage form, and placed a button. If this button is clicked I want to run a method. I am aware i can't overwrite methods in a ListPage form, therefore I want to create a method on a table which the form is using.
So, i need to check if the button is clicked from the table method, how can i accomplish is?
I have tried to create a method with:
MenuItem.clicked();
But i am not sure how to declare MenuItem so .clicked(); is recognized. How can i accomplish this?