4D v14.3

SET RECENT FONTS

Home

 
4D v14.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:

 
PROPERTIES 

Product: 4D
Theme: System Environment
Number: 1305

 
HISTORY 

New
Created: 4D v14

 
SEE ALSO 

FONT LIST

 
ARTICLE USAGE

4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)