DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Frame definition files

Using text frame headers and terminal attributes

Text frame headers, defined by the header descriptor, are useful when you want to permanently display some information, perhaps a warning, or headings for columns of information, while the text of the text frame can be scrolled through by the user. The example below in ``Text.header: an example of text frame headers'' also illustrates the use of the terminal display attribute for underlining.

   title="Department Directory"
   columns=30
   rows=5
   lifetime=longterm
   wrap=true
   header="\+ul  Name            Phone Number  \-ul"
   text="Adams, Jane         663-1234
   Brown, Tom          687-3443
   Deering, Julia      779-6801
   Fitzworth, Leslie   299-7775
   Flemming, Eric      344-2289
   Shultz, Michael     794-1100
   Walinsky, Richard   555-8827
   Younger, Helen      865-0023"

Text.header: an example of text frame headers

This frame definition file results in the following display:

Text.header: screen output

The terminal attribute of underlining has been turned on for the text header to set it apart from the list of department members. Since the frame is defined to be five rows long, and the header uses one of those rows, the text is displayed in four rows, and the scroll bar indicates that there is more text that follows.


Next topic: Defining a help frame for menu items or form fields
Previous topic: Text.readfile: an example of using readfile and longline in a text frame

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004