An editor is a field-level widget that allows you to perform complex text manipulation on a character value. You can set up a static editor widget with the VIEW-AS phrase. You can create a dynamic editor widget with the CREATE widget statement. For example:



Attributes

AUTO-INDENT attribute AUTO-RESIZE attribute BGCOLOR attribute
BOX attribute BUFFER-CHARS attribute BUFFER-LINES attribute
COLUMN attribute CONTEXT-HELP-ID attribute CURSOR-CHAR attribute
CURSOR-LINE attribute CURSOR-OFFSET attribute DATA-TYPE attribute
DBNAME attribute DCOLOR attribute DROP-TARGET attribute
DYNAMIC attribute EDIT-CAN-PASTE attribute EDIT-CAN-UNDO attribute
EMPTY attribute FGCOLOR attribute FONT attribute
FRAME attribute FRAME-COL attribute FRAME-NAME attribute
FRAME-ROW attribute FRAME-X attribute FRAME-Y attribute
HANDLE attribute HEIGHT-CHARS attribute HEIGHT-PIXELS attribute
HELP attribute HIDDEN attribute HTML-CHARSET attribute
INNER-CHARS attribute INNER-LINES attribute INPUT-VALUE attribute
INSTANTIATING-PROCEDURE attribute LABEL attribute LABELS attribute
LARGE attribute LENGTH attribute MANUAL-HIGHLIGHT attribute
MAX-CHARS attribute MENU-KEY attribute MENU-MOUSE attribute
MODIFIED attribute MOUSE-POINTER attribute MOVABLE attribute
NAME attribute NEXT-SIBLING attribute NEXT-TAB-ITEM attribute
NUM-DROPPED-FILES attribute NUM-LINES attribute NUM-REPLACED attribute
PARENT attribute PFCOLOR attribute POPUP-MENU attribute
PREV-SIBLING attribute PREV-TAB-ITEM attribute PRIVATE-DATA attribute
PROGRESS-SOURCE attribute READ-ONLY attribute RESIZABLE attribute
RETURN-INSERTED attribute ROW attribute SCREEN-VALUE attribute
SCROLLBAR-HORIZONTAL attribute SCROLLBAR-VERTICAL attribute SELECTABLE attribute
SELECTED attribute SELECTION-END attribute SELECTION-START attribute
SELECTION-TEXT attribute SENSITIVE attribute SIDE-LABEL-HANDLE attribute
TABLE attribute TAB-POSITION attribute TAB-STOP attribute
TEXT-SELECTED attribute TOOLTIP attribute TYPE attribute
VISIBLE attribute WIDGET-ID attribute WIDTH-CHARS attribute
WIDTH-PIXELS attribute WINDOW attribute WORD-WRAP attribute
X attribute Y attribute

Methods

CLEAR-SELECTION( ) method CONVERT-TO-OFFSET( ) method
DELETE-CHAR( ) method DELETE-LINE( ) method
EDIT-CLEAR( ) method EDIT-COPY( ) method
EDIT-CUT( ) method EDIT-PASTE( ) method
EDIT-UNDO( ) method END-FILE-DROP( ) method
GET-DROPPED-FILE( ) method INSERT-BACKTAB( ) method
INSERT-FILE( ) method INSERT-STRING( ) method
INSERT-TAB( ) method LOAD-MOUSE-POINTER( ) method
MOVE-AFTER-TAB-ITEM( ) method MOVE-BEFORE-TAB-ITEM( ) method
MOVE-TO-BOTTOM( ) method MOVE-TO-EOF( ) method
MOVE-TO-TOP( ) method READ-FILE( ) method
REPLACE( ) method REPLACE-SELECTION-TEXT( ) method
SAVE-FILE( ) method SEARCH( ) method
SET-SELECTION( ) method VALIDATE( ) method

Events

Default keyboard events Developer events
General direct manipulation events Mouse events
Navigation key function events Universal key function events
DROP-FILE-NOTIFY ENTRY
LEAVE VALUE-CHANGED

See also

CREATE widget statement, VIEW-AS phrase