forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Specifying the Window Title
                                             Up Contents Index Back
─────Specifying the Window Title────────────────────────────────────────────
 
     The OPEN statement can have an optional TITLE parameter, which
     specifies the text that appears in a child window's title bar:
 
          OPEN(UNIT = 10, FILE = 'USER', TITLE = 'Window Title')
 
     The TITLE parameter must be a character expression. If you do not
     specify a title, the default is "Unit" - followed by the unit
     number or an asterisk (*).
 
     If the window is in a certain mode, the title shows that mode. If
     the window is in select mode "Select -" precedes the title. If
     the window is in mark mode, "Mark -" precedes the title. And, if
     the window is in closed mode "- Closed" follows the title.
 
     Reopening the unit with a new title has no effect: the title can
     be set only once, the first time the unit is opened.
 
     NOTE: A run-time error results if the TITLE parameter is
     used with a unit other than a QuickWin child window.
                                    -♦-