home *** CD-ROM | disk | FTP | other *** search
- INFORMIX SOFTWARE, INC.,LENEXA, KS
- Wingz Technical Support Bulletin Number 001
-
-
- Title: Setting the default font in Wingz
- Date: December 19, 1988
-
- Unless specified through a script, the default font in Wingz
- is Geneva and the default font size is 10 point. This can be
- changed by running a script that sets the font to another
- font and size installed in your system. The script would
- need to be run when there are no worksheets open. The ideal
- way to do this would be to create a script called "startup"
- whose presence is checked for by WzScript and run if found in
- the folder. The commands to do this are as follows:
-
- TEXT FONT "default_font"
- TEXT SIZE size
- TEXT STYLE "style_string"
-
- Example:
-
- TEXT FONT "Bookman"
- TEXT SIZE 14
- TEXT STYLE "BI"
-
- The preceding script would set the default font to Bookman
- size 14 with style attributes of bold and italic. The new
- font will affect everything on the worksheet: the headings,
- the font for text fields, and anything entered on the
- worksheet.
-
- One of the side effects of doing this is that not only does
- it change the font of anything entered on the sheet,it also
- changes the font of the headings as well as the icons in the
- entry bar (ie. +,-,*,/, etc.). Another side effect is that
- style attributes, which appear in the headings, text fields,
- and in the entry bar, do not appear on any text entered into
- the worksheet. The font and size specified appears, but, as
- in the example above, any text entered on the sheet into
- cells would not be bold or italicized, just Bookman font size
- 14.
-
- Of course, once the information has been entered into the
- cells, they can be formatted to whatever style attribute you
- desire.
-
-