Progress
Programming
Handbook
Mouse Buttons on Windows
On Windows, Progress maps the two logical buttons, MOVE and SELECT, to the left mouse button. Every time the user presses the left mouse button, Progress must decide whether to interpret it as either a MOVE or a SELECT. If the button is clicked (while pointing to a widget), Progress interprets it as a SELECT. If the button is held down and dragged, Progress interprets it according to the following rules:
- If the mouse was pointing to an empty space in a frame, or to a nonmovable object, Progress interprets it as a SELECT. Progress creates a selection box that the user can use to select widgets (given that the frame’s BOX–SELECTABLE attribute is set to TRUE). All widgets contained within the selection box are selected; the widgets outside of the box are deselected. For more information on selection boxes, see the "Selecting Widgets" section.
- If the mouse was pointing to a widget, Progress interprets it as a MOVE (given that the widget’s MOVABLE attribute is set to TRUE). If the widget is selected, Progress moves the widget and all other widgets that were selected. If the widget is not selected, Progress deselects all other selected widgets, selects the remaining widget, then moves the widget.
For more information on Progress logical mouse buttons, see Handling User Input."
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |