You can attach scripts to fields, windows, forms and menus. The following sections describe how to attach scripts: