Progress
Language Reference


Mouse Events

Progress supports two types 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 following tables reference portable mouse buttons for portable mouse events and physical mouse buttons for three-button mouse events. For more information on the mapping between portable and physical mouse buttons and how Progress processes mouse events in the 4GL, see the chapter on handling user input in the Progress Programming Handbook .

Portable Mouse Events

Table 69 lists the mouse events that apply to all mice, no matter how the buttons are configured.

Table 69: Portable Mouse Events

Event

User Action
Affected Widgets
Progress Action
MOUSE-SELECT-DOWN
Press the mouse SELECT button.
All
Trigger dependent.
MOUSE-SELECT-UP
Release the pressed mouse SELECT button.
All
Trigger dependent.
MOUSE-SELECT-CLICK
Press and release the mouse SELECT button.
All
Trigger dependent.
MOUSE-SELECT-DBLCLICK
Press and release the mouse SELECT button twice.
All
Trigger dependent.
MOUSE-MENU-DOWN
Press the mouse MENU button.
All
Trigger dependent.
MOUSE-MENU-UP
Release the pressed mouse MENU button.
All
Trigger dependent.
MOUSE-MENU-CLICK
Press and release the mouse MENU button.
All
Trigger dependent.
MOUSE-MENU-DBLCLICK
Press and release the mouse MENU button twice.
All
Trigger dependent.
MOUSE-EXTEND-DOWN
Press the mouse EXTEND button.
All
Trigger dependent.
MOUSE-EXTEND-UP
Release the pressed mouse EXTEND button.
All
Trigger dependent.
MOUSE-EXTEND-CLICK
Press and release the mouse EXTEND button.
All
Trigger dependent.
MOUSE-EXTEND-DBLCLICK
Press and release the mouse EXTEND button twice.
All
Trigger dependent.
MOUSE-MOVE-DOWN
Press the mouse MOVE button.
NOTE: In Windows, a MOUSE-SELECT-DOWN trigger defined for the same widget takes priority over MOUSE-MOVE-DOWN.
All
Trigger dependent.
MOUSE-MOVE-UP
Release the pressed mouse MOVE button.
NOTE: In Windows, a MOUSE-SELECT-UP trigger defined for the same widget takes priority over MOUSE-MOVE-UP.
All
Trigger dependent.
MOUSE-MOVE-CLICK
Press and release the mouse MOVE button.
NOTE: In Windows, a MOUSE-SELECT-CLICK trigger defined for the same widget takes priority over MOUSE-MOVE-CLICK.
All
Trigger dependent.
MOUSE-MOVE-DBLCLICK
Press and release the mouse MOVE button twice.
NOTE: In Windows, a MOUSE-SELECT-DBLCLICK trigger defined for the same widget takes priority over MOUSE-MOVE-DBLCLICK.
All
Trigger dependent.

Three-button Mouse Events

Table 70 lists the mouse events associated with physical mouse buttons.

Table 70: Three-button Mouse Events

Event

User Action
Affected Widgets
Progress Action
LEFT-MOUSE-DOWN
Press the left mouse button.
All
Trigger dependent.
LEFT-MOUSE-UP
Release the pressed left mouse button.
All
Trigger dependent.
LEFT-MOUSE-CLICK
Press and release the left mouse button.
All
Trigger dependent.
LEFT-MOUSE-DBLCLICK
Press and release the left mouse button twice.
All
Trigger dependent.
RIGHT-MOUSE-DOWN
Press the right mouse button.
All
Trigger dependent.
RIGHT-MOUSE-UP
Release the pressed right mouse button.
All
Trigger dependent.
RIGHT-MOUSE-CLICK
Press and release the right mouse button.
All
Trigger dependent.
RIGHT-MOUSE-DBLCLICK
Press and release the right mouse button twice.
All
Trigger dependent.
MIDDLE-MOUSE-DOWN
Press the middle mouse button.
All
Trigger dependent.
MIDDLE-MOUSE-UP
Release the pressed middle mouse button.
All
Trigger dependent.
MIDDLE-MOUSE-CLICK
Press and release the middle mouse button.
All
Trigger dependent.
MIDDLE-MOUSE-DBLCLICK
Press and release the middle mouse button twice.
All
Trigger dependent.


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