Deletes a logical font.
DelFont hFont
hFont: Handle
DelFont frees all system resources associated with the object. After the object is deleted, the specified handle is no longer valid. DelFont invokes DeleteObject API.
Local fnt%
AutoRedraw = True
_Font$ = "Arial"
Font To fnt
SetFont fnt
Print "Hello World"
DelFont fnt
Do // to end press Alt + F4
Sleep
Until Me Is Nothing
DelFont is synonym to FreeFont.
Font, Font To, SetFont, GetFont, RFont, Dlg Font, _hFont, _font$, _font$=, FreeFont, DelFont
{Created by Sjouke Hamstra; Last updated: 30/09/2014 by James Gaite}