Properties of pages and elements - "Script" tab
"Event" column
All events of the element or page that have had JavaScript functions assigned to them are listed here. Events written in italics only function under the following conditions with buttons:
onaddnewrecords
All buttons with the "Insert data record" action and a free layout table as the target control.
target-onload
All buttons with "Tooltip" or "Grouping" as the destination option.
target-onunload
All buttons with "Tooltip" or "Grouping" as the destination option.
target-onbeforeunload
All buttons with "Tooltip" or "Grouping" as the destination option.
"Script" column
The names of the JavaScript functions are listed here.
Edit JavaScript for desktop
Opens the JavaScript Editor.
Show menu
If you click on the arrow symbol next to the
"Edit JavaScript for desktop" button, a menu will open with the following items:
Edit JavaScript for desktop
Edit JavaScript for mobile devices
Edit JavaScript for all devices
will open. If you want to enter JavaScript that only applies to mobile devices, please select the menu item "Edit JavaScript for mobile devices".
Add script
Opens a dialog where existing JavaScript functions can be selected and assigned to an event.
Edit script
Opens a dialog where a different function can be assigned to the currently selected event.
Remove script
Removes the currently selected assignment of the event and script function.
Adjusts the order of the script calls when multiple functions have been assigned to one event.
When an application is opened, the corresponding JavaScript will be searched for comments
that contain the character string //FIXME or //TODO. Matches will be listed in the lower area of the workspace on the Problems tab. The JavaScript editor will open when you double-click on a match. In this way, you have the ability to set markers for editing scripts later.