From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
If you implement this interface in your application, you must implement the methods with the parameters as shown here.
If you want to have a Button call PerformAction on an ActionNotificationReceiver then you would create a new class (perhaps ActionNotificationTest) that implements ActionNotificationReceiver. In the PerformAction method, you add the code you want to run when the button is pressed (and before DesktopButton.Pressed is called). For example:
Now in the Opening event handler for a Button, you can add your receiver:
When the button is pressed, the MessageBox is displayed.