From Xojo Documentation

Revision as of 23:22, 1 March 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Integer )
IntegerValue = aSystem.LastFontIndex

New in 2019r2

Supported on Desktop, Web, Console.

The index number of the last font installed on the user’s computer.


This example populates a top-level menu called FontMenu with the names of the installed fonts:

For i As Integer = 0 To System.LastFontIndex
FontMenu.AddMenu(New MenuItem(System.FontAt(i)))


All project types on all supported operating systems.

See Also

System.FontAt and System.FontCount functions.