Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## Portable and physical buttons

> Progress supports four portable mouse buttons:

> - `SELECT` — You can select or choose an object by pointing to it and clicking this mouse button. Any previously selected object becomes deselected.

> - `EXTEND` — You can toggle the selection state of an object by pointing to it and clicking this button. This has no effect on any other object; therefore, you can use the EXTEND button to toggle selection individually on more than one object.

> - `MENU` — If an object has an associated pop-up menu, you can activate that menu by clicking this button.

> - `MOVE` — By pressing and holding this button you can drag an object on the screen.

> Although Progress supports four buttons, the standard mouse used with Windows has only two buttons. Therefore, some physical mouse buttons have double functions, or, you must use control keys with one or more buttons. Table 4–6 shows the mappings between the Progress portable mouse buttons and the physical mouse buttons in Windows.

> Table 4–6: Mouse buttons in Windows
> Portable button | Windows
> --- | ---
>     SELECT
> | `LEFT` mouse button.
>     EXTEND
> | CTRL with `LEFT` mouse button.
>     MENU
> | `RIGHT` mouse button.
>     MOVE
> | `LEFT` mouse button.

> Progress supports two main classes of mouse events—portable and three-button events. You can use portable mouse events to associate triggers with logical actions of any mouse. You can use the three-button mouse events to associate triggers with specific physical actions of a three-button mouse. The names of the portable mouse events come from the mouse key labels listed in Table 4–6 (for example, `MOUSE–SELECT–CLICK`). They also correspond to the names of the portable mouse buttons used to generate them. The names of the three-button mouse events correspond to the physical buttons that generate them on a three-button mouse (for example, `LEFT–MOUSE–CLICK`). For a complete description of the names and functions of the portable and three-button mouse events, see the OpenEdge Development: Progress 4GL Reference .

> Both portable and three-button mouse events divide into two subclasses—low-level and high-level mouse events. Low-level mouse events are generated by the simplest mouse button actions, while high-level events are generated by more complex actions.

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