Progress
Language Reference
Direct Manipulation Events
Direct manipulation events are Progress events that directly modify the size, shape, position, and appearance of a widget. These events are generated by mouse actions. Each user interface widget either has direct manipulation enabled or does not. Some types of widgets, such as menus, cannot have direct manipulation enabled. You can enable widgets for direct manipulation by setting the SELECTABLE, MOVABLE, or RESIZABLE attribute to TRUE.
If a widget has direct manipulation enabled, then direct manipulation events take priority over all other events. In other words, while data manipulation is enabled, the widget cannot perform data entry or application control functions. For example, if you set SELECTABLE to TRUE for a button, Progress interprets a MOUSE-SELECT-UP event as a SELECTION event. If you set SELECTABLE to FALSE, Progress interprets the same event as a CHOOSE event.
Direct manipulation events can be broken down into two types: general and frame-only. General direct manipulation events apply to both field-level and frame widgets. Frame-only direct manipulation events apply only to frames.
The following sections list the Progress events associated with direct widget manipulation. The user actions listed for these events assume that you set the appropriate attributes to make each event possible. For example, a widget must be SELECTABLE to receive the SELECTION event. For more information on direct manipulation, see the chapter on direct manipulation in the Progress Programming Handbook .
General Direct Manipulation Events
Table 72 lists the direct manipulation events that apply to field-level widgets and frames:
Frame-only Direct Manipulation Events
Table 73 lists the direct manipulation events that apply only to frames.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |