[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FONTRESET()
 Resets all font and palette changes to the ROM defaults
------------------------------------------------------------------------------
 Syntax

     FONTRESET() --> lReset

 Returns

     FONTRESET() returns .T. when all font and palette settings are reset.

 Description

     This function resets all the settings implemented with FONTLOAD(),
     SETFONT(), and FONTSELECT().  Settings implemented with EGAPALETTE() or
     VGAPALETTE() are also reset.  In addition, the border color set with SET
     COLOR TO is reset.

     Table 6-2: Settings affected by FONTRESET()
     ------------------------------------------------------------------------
     Settings                    Functions concerned
     ------------------------------------------------------------------------
     All font information        FONTLOAD(), FONTSELECT, SETFONT()
     All palette information.    EGAPALETTE(), VGAPALETTE()
     Border attribute            CA-Clipper:  SET COLOR TO
     ------------------------------------------------------------------------

 Note

     .  No ROM fonts exist for screen modes that are not based on 8,
        14 or 16 pixels.  You cannot implement FONTRESET() in this situation.

 Example

     Reset all changes to fonts and palettes:

     ? FONTRESET()         // .T., if ok


See Also: FONTLOAD() FONTSELECT() EGAPALETTE() VGAPALETTE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson