hub.eb?material_id=207

Add a script


The Events option when right-clicking on a button control gives you a list of scripts attached to that button.

You can add a new script with the icon, or attach an existing script from the workspace with the icon.

When the button is clicked, all the attahced scripts are triggered in the order they are listed, from top to bottom.

You can remove a selected script with the icon. This only removes the script from the button, and does not delete it from the workspace.

Steps


1

Right click on the 'Click me' button, and select Events.

2

Create a new script with the icon.

3

Call the script click_me_script, and select the same folder as where your form is located. The script editor will open.

Related