Progress
Programming
Handbook
Order of Direct-manipulation Events
A few mouse actions may initiate a several events. The order in which Progress generates these event depends on the type of operation the user performs.
The Box-selecting Operation
The following steps describe the order of events that Progress generates during a box-selecting operation:
- The user presses down and holds the SELECT or EXTEND button.
When the user presses SELECT, Progress generates an EMPTY–SELECTION event. Progress then generates a DESELECT event for all widgets that were selected. If the user presses EXTEND, Progress generates a MOUSE–EXTEND–DOWN event.
- The user begins to move the mouse.
Progress generates a START–BOX–SELECTION event for the frame.
- The user releases the mouse button.
When the user releases SELECT, Progress generates DESELECTION events for all selected widgets and SELECTION events for all of the widgets the user included in the box-selecting operation. Then Progress generates an END–BOX–SELECTION event for the frame. The key code that the mouse sends to Progress is MOUSE–SELECT–UP.
When the user releases EXTEND, Progress generates SELECTION and DESELECTION events for the widgets included in the box-selecting operation. Then Progress generates an END–BOX–SELECTION event for the frame. The key code that the mouse sends to Progress is MOUSE–EXTEND–UP.
The Move Operation
The following steps describe the order of events that Progress generates during a move operation:
- The user presses down the MOVE button while the graphics pointer is pointed at a widget.
Progress generates a MOUSE–SELECT–DOWN event.
- The user begins to move the mouse.
Progress generates a START–MOVE event for the widgets the user moves.
- The user releases the mouse.
Progress generates an END–MOVE event for each widget moved.
The Resize Operation
The following steps describe the order of events that Progress generates during a move operation:
- The user presses down the SELECT button while the graphics pointer is pointed at a widget’s resize handle.
Progress generates a MOUSE–SELECT–DOWN event and then a START–RESIZE event.
- The user begins to move the mouse.
Progress generates a START–RESIZE event for the widget the user resizes.
- The user releases the mouse.
Progress generates an END–RESIZE event for the widget the user resized.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |