Pop-Up Event Editor
The Pop-Up Event Editor runs in a modeless window and provides an easy way to attach scripts to object events. When editing a layout, select an object and click Object > Pop-up Event Editor... or right-click and select Events > Pop-up Editor....
Select an event to edit from the list.
Click either the Xbasic Editor and Action Scripting Editor radio buttons to select the environment to work in.
Switch to interactive mode by clicking the Interactive Window tab.
Click Launch Script Editor to switch to the regular modal Code Editor.
Launch the Xbasic Genie by clicking the 'lamp' icon.
Launch the Xbasic Explorer by clicking the 'wrench' icon.
Launch the Script Library by clicking the 'book' icon.