Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## INSERT-FILE( ) method

> Inserts the text of `filename` into the editor widget at the current location of the text cursor.

> Return type: LOGICAL

> Applies to: EDITOR widget

> Syntax
>     INSERT-FILE ( filename )

> ``filename``

> A character-string expression of the full or relative pathname of a file.

> If the text insertion is successful, the method returns TRUE. The INSERT-FILE( ) method searches the `PROPATH` to find the file.

> Note: This method replaces each horizontal tab character with eight spaces as it inserts the text into the widget.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095