The Total Access Components events of the controls are not available via the Access form/report property sheet (where you might expect them to be). They are, however, accessible in code. The example below is for the OnSelect event of the Icon Menu control:
- Open the VBA Editor from the form where you have inserted at least one instance of the control.
- Select the name of the control instance from the (General) drop down menu.
- Select the event “OnSelect” from the (Declarations) drop down menu.
As you can see, the code stub is then created for you like below.
Once the code stub is created, you can add your custom code to execute each time the event occurs.