Progress
Programming
Handbook
Interaction Modes
There are three modes that Progress can enter during a direct-manipulation session:
The user directs Progress to enter one of these modes by pressing the SELECT, EXTEND, or MOVE button and holding it down. The mode entered is determined by where the user’s mouse pointer is pointing and by what button the user pressed. For example, if the user presses down the SELECT button while pointing to an empty space and drags the mouse, Progress enters box-selecting mode (given that the frame’s BOX–SELECTABLE attribute is set to TRUE). But if the user presses the SELECT button when pointing at a resize handle, Progress enters resize mode. If the user presses the MOVE button, Progress always enter move mode. You can direct Progress not to enter a mode by writing a trigger for the event that causes Progress to enter the mode; you can have that trigger return a NO–APPLY.
The mode Progress is in affects how Progress interprets mouse-move events and mouse-button-release events. When the user releases the mouse button, Progress exits the mode it is in. If the user is in move mode, Progress generates an END–MOVE event. If the user is in resize mode, Progress generates an END–RESIZE event.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |