This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
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

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v14

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)