The default keyboard interface for the clipboard is shown in Table 47.1.
Table 47.1: The Clipboard Keyboard Interface
| Action | Keyboard (PCDOS, OS/2 | Keycode | Event Table |
| Cut | Ctrl-X | KEY_CX | VIEWETP |
| Copy | Ctrl-C | KEY_CC | VIEWETP |
| Paste | Ctrl-V | KEY_CV | VIEWETP, FMETP |
| Mark | Ctrl-B | KEY_CB | SYSETP |
| Cancel | Esc | KEY_ESC | VIEWETP |
Mouse: If the mouse is enabled (PCDOS only), the mouse can be used to mark a region. To mark a region with the mouse, position the mouse cursor, press the left mouse button, drag the mouse, and release the left mouse button. The mouse can be used to mark a region in a data entry field, a memo field, or a window. It cannot, however, be used to mark and scroll at the same time.
During data form processing, clipboard edit actions are supported for only data entry fields and memo fields. Users are not allowed to use the clipboard on the following fields: check boxes, pushbuttons, radio buttons, or SKIP fields. In addition, users cannot paste to PROTECTED fields and cannot cut or copy from NOECHO fields.
Vermont Views clipboard support is provided for viewing or browsing the contents of a memory file or memory screen. Copy is supported; cut and paste are not.
The system beeps when a user attempts to perform an edit action that is not supported.
The user interface for clipboard edit actions is controlled by entries in the system event table (SYSETP), the form event table (FMETP), and the viewing event table (VIEWETP). All event tables are defined in the header file vv_glob.h. You can modify the event tables by changing the event assignments. For more information on event tables, see Chapter 37, "How Event Processing Works," and Chapter 39, "Installing Event Functions and Modifying Event Tables."