
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>setfont()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetFont()
Changes the font of characters
Syntax:
SetFont( cFile ) -> nError
cFile : The filename with the font
Description:
It changes the pointer to the Bios zone, where the character
font is placed, to a new character font place in memory to be
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()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson