Kbase 17103: New attributes/methods for Clipboard, fill-in and editor
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/3/2000 |
|
New attributes/methods for Clipboard, fill-in and editor
In version 8.2a, on Windows in graphical interfaces only, the Clipboa
rd, editor widget, and fill-in widget support the following new attrib
utes 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
and 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 opera
tions, but if they use the new methods, they can use the editor's
UNDO feature.
For more information, please see the Progress Release Notes for 8.2A.
Progress Software Technical Support Note # 17103