Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Faxual II for CA-Clipper - fonthandle http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FontHandle
 Get loaded font handle
------------------------------------------------------------------------------
 Syntax

    FontHandle(<nIndex>) -> nFont

 Parameters

    <nIndex> is a number from 1 to FontCount().

 Returns

    The font handle of the <nIndex>th entry in the internal font table.  If
    <nIndex> is out of range, FontHandle() returns 0 and sets F2Error().

 Description

    Faxual II keeps an internal table of all loaded fonts.  FontHandle() and
    FontCount() let you access the table to read the handles of all fonts in
    memory.

 Example

    .   This example unloads all fonts from memory.

        do while FontCount() > 0
            FontUnload(FontHandle(1))
        enddo

See Also: FontCount

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson