4D v16.3

SET RECENT FONTS

Home

 
4D v16.3
SET RECENT FONTS

SET RECENT FONTS 


 

SET RECENT FONTS ( fontsArray ) 
Parameter Type   Description
fontsArray  Text array in Array of font names

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:



See also 

FONT LIST

 
PROPERTIES 

Product: 4D
Theme: System Environment
Number: 1305

 
HISTORY 

Created: 4D v14

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)