EDITORsize-phraseINNER-CHARS characters INNER-LINES linesBUFFER-CHARS charsBUFFER-LINES linesLARGEMAX-CHARS charactersNO-BOXNO-WORD-WRAPSCROLLBAR-HORIZONTALSCROLLBAR-VERTICALTOOLTIP tooltip
width BY heightSIZE SIZE-CHARS SIZE-PIXELSFor more information, see the SIZE phrase reference entry.Specifies the number of characters visible in each line of the Editor and the number of lines visible within the Editor. Both chars and lines must be integer constants.BUFFER-CHARS charsThe chars value must be an integer constant that is equal to or greater than the value specified by SIZE width or INNER-CHARS chars. If greater, horizontal scrolling is enabled. The default is the value specified by SIZE width or INNER-CHARS chars.BUFFER-LINES linesThe lines value must be an integer constant that is equal to or greater than the value specified by BY height or INNER-LINES lines. If equal, vertical scrolling is disabled.MAX-CHARS charactersThe maximum number of characters that can be displayed or entered within the text editor widget. The value characters must be an integer constant. By default, ABL does not limit the number of characters (although system limits might apply).TOOLTIP tooltipYou can add or change the TOOLTIP option at any time. If TOOLTIP is set to "" or the Unknown value (?), then the tooltip is removed. No tooltip is the default. The TOOLTIP option is supported in Windows only.The following example uses two editor widgets. The Item.CatDescription field is viewed as an EDITOR in the item-info frame and the variable my_clipbd is viewed as an EDITOR in the clip frame. Use the EDITOR functions provided by your interface environment to copy text from CatDescription into my_clipbd. You can then subsequently copy that text into the CatDescription field of another item.
Windows allows a user to transfer focus to the editor by pressing ALT and one of the letters in the label. This is called a mnemonic.
For SpeedScript, the only valid options are: size-phrase, INNER-CHARS, INNER-LINES, MAX-CHARS, NO-BOX, NO-WORD-WRAP.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |