Consultor Eletrônico



Kbase 17117: Attributes and Methods for Clipboard, Fill-in and Editor
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Attributes and Methods for Clipboard, Fill-in and Editor

In version 8.2, on Windows in graphical interfaces only, the
Clipboard, editor widget, and fill-in widget support the following new
attributes and methods:

- EDIT-CAN-PASTE attribute, which is TRUE if the Clipboard contains
data that can be pasted into the editor widget or fill-in widget,
and FALSE otherwise.
- EDIT-CLEAR method, which deletes the selected text. EDIT-CLEAR
has no parameters and returns TRUE if successful and FALSE
otherwise.
- EDIT-COPY method, which copies text selected in an editor widget
or fill-in widget to the Clipboard. EDIT-COPY has no parameters
and returns TRUE if successful or FALSE otherwise.
- EDIT-CUT method, which copies text selected in an editor widget
or fill-in widget to the Clipboard, then deletes the selected
text. EDIT-CUT has no parameters and returns TRUE if successful
or FALSE otherwise.
- EDIT-PASTE method, which, if the Clipboard contains text data,
pastes the data into an editor widget or fill-in widget at the
current cursor position. EDIT-PASTE has no parameters and
returns TRUE if successful or FALSE otherwise.

Applications can still use the CLIPBOARD handle to perform these
operations, but if they use the new methods, they can use the editor's
UNDO feature.

For more information on these language elements, see the Progress
Release Notes.

Progress Software Technical Support Note # 17117