SET RECENT FONTS
SET RECENT FONTS ( fontsArray )
Parameter | Type | Description | |
---|---|---|---|
fontsArray | Text array | → | Array of font names |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The SET RECENT FONTS command modifies the list of fonts displayed in the context menu of the "recent fonts".
This menu contains the names of the last fonts selected during the session. It is used in particular by Programming Notes areas.
Example
You want to add a font to the menu of recent fonts:
You execute the following code:
ARRAY TEXT($arrRecent;0)
FONT LIST($arrRecent;2)
APPEND TO ARRAY($arrRecent;"Segoe Script")
APPEND TO ARRAY($arrRecent)
Then the menu contains: