home *** CD-ROM | disk | FTP | other *** search
/ Windoware / WINDOWARE_1_6.iso / miscprog / wzall / wz001.txt < prev    next >
Encoding:
Text File  |  1991-01-24  |  2.0 KB  |  49 lines

  1.                                     INFORMIX SOFTWARE, INC.,LENEXA, KS
  2.                               Wingz Technical Support Bulletin Number 001
  3.      
  4.      
  5.      Title:    Setting the default font in Wingz
  6.      Date:     December 19, 1988
  7.      
  8.      Unless specified through a script, the default font in  Wingz
  9.      is Geneva and the default font size is 10 point.  This can be
  10.      changed  by  running a script that sets the font  to  another
  11.      font  and size installed in your system.   The  script  would
  12.      need to be run when there are no worksheets open.   The ideal
  13.      way  to do this would be to create a script called  "startup"
  14.      whose presence is checked for by WzScript and run if found in
  15.      the folder. The commands to do this are as follows:
  16.      
  17.      TEXT FONT "default_font"
  18.      TEXT SIZE size
  19.      TEXT STYLE "style_string"
  20.      
  21.      Example:
  22.      
  23.      TEXT FONT "Bookman"
  24.      TEXT SIZE 14
  25.      TEXT STYLE "BI"
  26.      
  27.      The  preceding script would set the default font  to  Bookman
  28.      size  14 with style attributes of bold and italic.   The  new
  29.      font will affect everything on the worksheet:  the  headings,
  30.      the  font  for  text  fields, and  anything  entered  on  the
  31.      worksheet.
  32.      
  33.      One  of the side effects of doing this is that not only  does
  34.      it  change the font of anything entered on the sheet,it  also
  35.      changes the font of the headings as well as the icons in  the
  36.      entry bar (ie.  +,-,*,/,  etc.).  Another side effect is that
  37.      style attributes, which appear in the headings,  text fields,
  38.      and in the entry bar,  do not appear on any text entered into
  39.      the worksheet.  The font and size specified appears, but,  as
  40.      in  the  example above,  any text entered on the  sheet  into
  41.      cells would not be bold or italicized, just Bookman font size
  42.      14.
  43.      
  44.      Of  course,  once the information has been entered  into  the
  45.      cells,  they can be formatted to whatever style attribute you
  46.      desire.
  47.  
  48.  
  49.