[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    SetFont()

         Changes the character font

    Syntax:

         SetFont( cFile ) -> nError

         cFile : The filename of the font

    Description:

         It changes the pointer to the BIOS zone, where the character
         font is placed.  A new character font is placed in memory and
         used.

    Return:

         A numeric value indicating:

                0       Ok
               -1       The file does not exist
               -2       File structure is incorrect

    Example:

         If Empty( SetFont ( "c:\os2\mdos\myappl\fonts\roman.fon" ) )
           ? "Ok"
         EndIf

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