Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## The keyboard and the mouse

> Progress accepts user input from the keyboard and, where available, from the mouse. Although the keys on different keyboards vary somewhat, Progress defines several hundred standard key codes that map to common key labels (or sequences). Some of these codes are also mapped to special functions by Progress or the windowing system. As shown in Figure 4–1, the F2 key label maps to key code 302. On most systems, this key code also maps to the Progress GO key function.

> Figure 4–1: Key labels, key codes, and key functions

> Progress also defines a four-button mouse model. Each of the four portable buttons maps to a physical button (possibly with a modifying key) on your mouse. For example, the portable `SELECT` button usually maps to the left button on a two- or three-button mouse. The mouse buttons generate input events that map to key labels. However, the way Progress handles mouse input is different from the keyboard because of the way the mouse generates events—sending both press (down) and release (up) signals. Progress provides access either to the down or up event or to combinations of these inputs as a single event. For more information on mouse buttons, events, and how to monitor them, see the "Using mouse buttons and events" section.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095