List of predefined actions

Important: The predefined actions described in these tables are created depending on the usage context described in the Context descriptions notes.
Table 1. Automatic actions (automatically created by dialogs)
Action Name Description ON ACTION block is required Context
accept Validates the current interactive instruction can overwrite (1)
cancel Cancels the current interactive instruction can overwrite (1)
close Triggers a cancel key in the current interactive instruction (by default) can overwrite (7)
insert Inserts a new row before current row can overwrite (2)
append Appends a new row at the end of the list can overwrite (2)
delete Deletes the current row can overwrite (2)
find Opens the fglfind dialog window to let the user enter a search value, and seeks to the row matching the value can overwrite (4)
findnext Seeks the next row matching the value entered during the fglfind dialog can overwrite (4)
nextrow Moves to the next row can overwrite (4)
prevrow Moves to the previous row can overwrite (4)
firstrow Moves to the first row can overwrite (4)
lastrow Moves to the last row can overwrite (4)
help Shows the help topic defined by the HELP clause can overwrite (1)
editcopy Copy selected rows (or current row if MRS is off) to the clipboard can overwrite (8)
expandall A tree node is completly expanded can overwrite (8)
collapseall A tree node is completly collapsed can overwrite (8)
Table 2. Special actions (special behavior)
Special Action Name Description ON ACTION block is required Context
browser_back Sent when the user hits the back button in a web browser (web front-end only). yes (6)
browser_forward Sent when the user hits the forward button in a web browser (web front-end only). yes (6)
dialogtouched Sent by the front-end each time the user modifies the value of a field. For more details, see Immediate detection of user changes. yes (7)
enterbackground On Mobile devices, this action is fired when the app goes to background mode. yes (6)
enterforeground On Mobile devices, this action is fired when the app goes to foreground mode. For background and foreground action see Background/foreground modes yes (6)
interrupt Sends an interruption request to the program when processing. For more details, see User interruption handling. no (5)
windowresized On Mobile devices, this action is sent when changing the orientation of the device. On other front-ends, it is sent when the current active window is resized. For more details, see Adapting to viewport changes. yes (6)
notificationpushed On Mobile devices, this action is fired when receiving a push notification message. See getRemoteNotifications yes (6)
cordovacallback On Mobile devices, this action is fired when receiving Cordova plugin results. See callWithoutWaiting. yes (6)

Context descriptions

  1. CONSTRUCT, INPUT, PROMPT, INPUT ARRAY and DISPLAY ARRAY.
  2. INPUT ARRAY only.
  3. CONSTRUCT, INPUT and INPUT ARRAY.
  4. INPUT ARRAY and DISPLAY ARRAY.
  5. Only possible when no interactive instruction is active.
  6. Possible in any kind of interactive instruction (MENU included).
  7. DIALOG, CONSTRUCT, INPUT, PROMPT, INPUT ARRAY and DISPLAY ARRAY.
  8. DISPLAY ARRAY only.