Custom event scripting allows you to add custom functionality to the forms. This functionality could be used at any point such as when opening a form, clicking a button or entering a value.
It will allow you to add whatever functionality you need. For example:
● Show extra information in a popup when clicking a button.
● Send an email whenever someone logs in.
● Launch and interact with other applications while entering data.
● Call and utilise data from other databases.
1. Select the Forms tab.
2. Enable the Properties checkbox.
The Properties panel is displayed.
3. Select the form component to which you want to add custom functionality.
4. Select the Events button () at the top of the Properties panel
5. Double click in the blank space next to the property you wish to customise.
The Source code tab below the form is automatically selected and the new property is added to the code.
6. Enter the custom functionality.
7. Select the Design tab below the form.
The form is displayed again.
If the custom functionality calls assemblies that aren't included as standard with Inspect then they'll have to be added as follows:
8. Select the Form Explorer tab.
9. Expand the form name.
10. Right click on References.
11. Select Add Reference.
A list of the available assembly references is displayed.
12. Select or browse for the required assembly.
13. Click OK.
The assembly reference is listed below the form name.