Events are triggered by user activity such as mouse actions and keyboard input. You write actions to capture the events and respond to them.
Some of the tasks you can accomplish with events are:
- changing the color of a button when the mouse pointer is over it
- creating shortcut keys
- displaying a context sensitive help message
- changing the background color of a field during data entry
An event is captured by the item that has the focus, by the current page, and by the global page. Events are available at runtime as implicit options, and in most cases they can be accessed the same way as any other option. The names of these implicit options are identical to the names of the events.
The events are briefly described below. See the implicit options section of the XFDL Specification
for more information.
List of events
Detects whether or not an item, page, or form has been activated by the user. For example, a button becomes activated when the user clicks it.dirtyflag
Records whether the form has been updated since the last save or submission.focused
Detects whether an item, page, or form currently has the input focus.keypress
Detects keystrokes made by the user.mouseover
Detects whether the mouse pointer is currently positioned over an item or page.printing
Indicates whether the form is currently printing.Parent topic: Adding interactive features