Progress
Programming
Handbook
Attributes and Methods
At run time, you can query or set editor-specific attributes to accomplish the following:
- Enable automatic indentation when the user presses RETURN
- Select text or place the text cursor
- Determine where the user has placed the text cursor
- Determine whether the user has selected text and the location of the selection
- Determine whether the user has modified the contents of the editor and find the length
- Change the compile-time specifications of INNER–CHARS, INNER–LINES, MAX–CHARS, WORD–WRAP, SCROLLBAR–HORIZONTAL, and SCROLLBAR–VERTICAL
NOTE: Although you can store a large amount of data in an editor widget, the SCREEN–VALUE attribute might not work as expected for values longer than 32K.In addition to attributes, the editor also supports methods that allow a procedure to:
For more information on each attribute and method, see the Progress Language Reference .
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |