FONT_NAMES_ADD

FONT_NAMES_ADD N

ADDS THE LIST OF AVAILABLE FONTS TO THE SYSTEM OBJECT NUMBER N

  • Type: Command
  • Parameter: 1
  • Group: Font

ACTION

The command FONT_NAMES_ADD N adds the list of available fonts to the system object designated by its number N.

The list is added after the last line (at the end) of the system object.

The system object is of type : MEMO, COMBO, LIST, DLIST.

SYNTAX: FONT_NAMES_ADD N

  • N = system object number (integer or real). Must be greater than 0 and less than or equal to the allowed maximum number of system objects.

USE

  • The command FONT_NAMES_ADD is used to add to the content of a MEMO, a COMBO, a LIST, a DLIST the list of fonts available in the computer.

ERROR

  • If number N is not a correct expression.
  • If number N exceeds the allowed maximum number of system objects.
  • If number N is not greater than 0.
  • If the system object number N does not exist.
  • If number N is not the number of a MEMO, a COMBO, a LIST, a DLIST.

EXAMPLE

rem create a LIST

list 1

rem fill it with a line

item_add 1,"Hello !"

rem add the list of the fonts

font_names_add 1

SEE ALSO

FONT_NAME

FONT_SIZE

FONT_COLOR

FONT_BOLD

FONT_BOLD_OFF

FONT_ITALIC

FONT_ITALIC_OFF

FONT_UNDERLINE

FONT_UNDERLINE_OFF

FONT_STRIKE

FONT_STRIKE_OFF

FONT_NAMES_LOAD