All processing of keyboard and mouse input is controlled by event tables. An event table consists of a list of entries that associate a key press, mouse click, or internal event (an event code) with a C language function (an event function). When a user triggers an event by pressing a key or clicking the mouse, an event table is searched for the event code. If the event code is found, the associated function is called.
Default event tables are provided for all interactive tasks, such as entry of data in a form, selecting from a menu, viewing text in the help system, and entering and editing text in a memo field. In addition, each data field, memo field, and menu field can have its own associated event table. A system event table is also provided for context-free, system-wide, event functions.
Event tables provide dynamic control of the keyboard and mouse interface of the Vermont Views system. In addition, you can easily supplement the functionality of the package by writing and installing your own event functions.